By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,225 Members | 2,223 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,225 IT Pros & Developers. It's quick & easy.

How to write output of a query to a file

P: 107
Hi All,

I am using a application that stores a scripts in a sql server table columns
some times i require to use the scripts stored in table columns in a file.

So i am lookin for a keyword like UNLOAD(DB2) which unload the table into a text file. IN short i am looking to write the output of an sql query into an text file.

i can't use any utility or anr dos command to do so. can it be done on just query level?

Gaurav Gambhir
Jan 7 '08 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.