dbTalk Databases Forums  

Output parameters

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


Discuss Output parameters in the microsoft.public.sqlserver.dts forum.



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

Default Output parameters - 09-13-2005 , 04:39 PM






I have an "Execute SQL Task" that reads from a table like this:
select top 1 company_id,filelocation, filename
from Supplier_Download_File_Locations
where statusid = 0
I have created output parameters for the 3 column names.
I need to create a text file based on the company_id, filelocation and
filename columns. In other words when this executes I need it to create a
text file in the filelocation specified, with the filename specified.

Would someone be so kind as to show me how with an example.
I am new at this.

Thanks
Gary

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

Default Re: Output parameters - 09-13-2005 , 04:49 PM






If you have the values in the Global Variables then you can use the
FileSystemObject to create a text file. What do you want to do with the
text file. Is it that you want to change the destination of a datapump
task to be this new name and location?

Allan

"Gary" <Gary (AT) discussions (DOT) microsoft.com> wrote


Quote:
I have an "Execute SQL Task" that reads from a table like this:
select top 1 company_id,filelocation, filename
from Supplier_Download_File_Locations
where statusid = 0
I have created output parameters for the 3 column names.
I need to create a text file based on the company_id, filelocation and
filename columns. In other words when this executes I need it to create
a
text file in the filelocation specified, with the filename specified.

Would someone be so kind as to show me how with an example.
I am new at this.

Thanks
Gary


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.