dbTalk Databases Forums  

Select statements output file.

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


Discuss Select statements output file. in the microsoft.public.sqlserver.dts forum.



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

Default Select statements output file. - 08-17-2005 , 10:10 AM






Is there a way that I can get the result of multiple select statements into 1
file from a DTS package ?


Thanks for any help.

Reply With Quote
  #2  
Old   
Peter A. Schott
 
Posts: n/a

Default Re: Select statements output file. - 08-17-2005 , 11:47 AM






If you can't UNION them or something similar, you will probably have to output
multiple files and combine them using an ActiveX task or a simple batch file
along the lines of:
type file1 file2 file3 > desiredoutputfile

(something like that - don't remember the exact syntax)

-Pete

DXC <DXC (AT) discussions (DOT) microsoft.com> wrote:

Quote:
Is there a way that I can get the result of multiple select statements into 1
file from a DTS package ?


Thanks for any help.

Reply With Quote
  #3  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Select statements output file. - 08-17-2005 , 01:30 PM



Not naturally.

You could pump each statement to seperate file and then use the DOS COPY command to merge the files into another file.




On Wed, 17 Aug 2005 08:10:06 -0700, DXC <DXC (AT) discussions (DOT) microsoft.com> wrote:

Quote:
Is there a way that I can get the result of multiple select statements into 1
file from a DTS package ?


Thanks for any help.

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.