dbTalk Databases Forums  

Provide Text file name in parameter

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


Discuss Provide Text file name in parameter in the microsoft.public.sqlserver.dts forum.



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

Default Provide Text file name in parameter - 03-22-2005 , 06:05 AM






I have created DTS Local Package for Migration of data from Text file to
Database Table. This is working fine. I change the file name often times when
I execute the DTS Package, for this purpose I have to change this DTS with
parameter so kindly guide me how can I change my this DTS Package with
Parameter for change the text file name for migrating of data.


Farhan Iqbal


Reply With Quote
  #2  
Old   
Sue Hoegemeier
 
Posts: n/a

Default Re: Provide Text file name in parameter - 03-22-2005 , 06:48 AM






You can start by checking the following article:
How can I change the filename for a text file connection?
http://www.sqldts.com/default.aspx?200
I'm not clear on how or where you want to use a parameter
for the text file name but one option you can use with the
above is to use a global variable for the file name. You can
execute the package with the global variable switch /A used
with dtsrun and this could be the filename.

-Sue

On Tue, 22 Mar 2005 04:05:03 -0800, Farhan
<Farhan (AT) discussions (DOT) microsoft.com> wrote:

Quote:
I have created DTS Local Package for Migration of data from Text file to
Database Table. This is working fine. I change the file name often times when
I execute the DTS Package, for this purpose I have to change this DTS with
parameter so kindly guide me how can I change my this DTS Package with
Parameter for change the text file name for migrating of data.


Farhan Iqbal


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.