dbTalk Databases Forums  

generate text file from query results

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss generate text file from query results in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
JT
 
Posts: n/a

Default generate text file from query results - 05-04-2004 , 02:34 PM






is there a way within dts to run a select query and output the result set
into a text file???

tia

jt



Reply With Quote
  #2  
Old   
Andy Svendsen
 
Posts: n/a

Default Re: generate text file from query results - 05-04-2004 , 04:12 PM






Just click on File | Save As in the results window to save to a text file.
If you want a particular format, go to Tools | Options | Results -- you can
set it comma separated (CSV) or tab delimited.

CSV is a good format for importing into Excel.

--
************************************************** *****************
Andy S.
MCSE NT/2000, MCDBA SQL 7/2000
andymcdba1 (AT) NOMORESPAM (DOT) yahoo.com

Please remove NOMORESPAM before replying.

Always keep your antivirus and Microsoft software
up to date with the latest definitions and product updates.
Be suspicious of every email attachment, I will never send
or post anything other than the text of a http:// link nor
post the link directly to a file for downloading.

This posting is provided "as is" with no warranties
and confers no rights.

************************************************** *****************
"JT" <jt (AT) nospam (DOT) com> wrote

Quote:
is there a way within dts to run a select query and output the result set
into a text file???

tia

jt





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.