Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2003
    Posts
    6

    Unanswered: copy query results into text file

    I am using DB2 v8.1 on windows 2000.
    If the records are there then I am able to copy the query results into text file using Query Results -> save data -> as text from command center. But the output of the query is of zero records then copy option is disabled. Even if there are no records then also I need to have a text file with the table name. Is there any other way to generate a text file with or without data from the query?

    Thanks in advance
    kenare

  2. #2
    Join Date
    Aug 2001
    Location
    UK
    Posts
    4,650

    Re: copy query results into text file

    You can use EXPORT

    Cheers
    Sathyaram

    Originally posted by kenare
    I am using DB2 v8.1 on windows 2000.
    If the records are there then I am able to copy the query results into text file using Query Results -> save data -> as text from command center. But the output of the query is of zero records then copy option is disabled. Even if there are no records then also I need to have a text file with the table name. Is there any other way to generate a text file with or without data from the query?

    Thanks in advance
    kenare
    Visit the new-look IDUG Website , register to gain access to the excellent content.

  3. #3
    Join Date
    Dec 2003
    Posts
    6
    Hi Sathyaram,

    Thank you. My problem solved

    Kenare

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •