Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: SQL Server
Expertise: Beginner
Feb 1, 1999

Outputting query data to a file

Question:
I am trying to list out the contents of a field, and there are so many, that I need to send the output to a file. Can you tell me how to do this? I am using a select statement to get the data out of a certain field.

Answer:
Just remember that someone will still have to interpret the output if it is to be of any use. :-) You can run isql from the command line and specify both an input file and an output file. To see all the syntax of the parameters type isql /? ( In version 7, osql is preferred)

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date