dbTalk Databases Forums  

Import different files but same type of data

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


Discuss Import different files but same type of data in the microsoft.public.sqlserver.dts forum.



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

Default Import different files but same type of data - 10-13-2004 , 10:29 AM






Hi,
I am trying to import text file into a table and that file name changes
every night. The file name is solely based on the day and date of the
previous day. Is there a way to specify, in DTS, some method by which the dts
automatically knows what file to pick as an import based on the system date?
Thanks.
IMRAN

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

Default Re: Import different files but same type of data - 10-13-2004 , 12:33 PM






Have a look here

How can I change the filename for a text file connection?
(http://www.sqldts.com/default.aspx?200)

And here

Looping, Importing and Archiving
(http://www.sqldts.com/Default.aspx?246)
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.Konesans.com


"Imran Prasla" <ImranPrasla (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi,
I am trying to import text file into a table and that file name changes
every night. The file name is solely based on the day and date of the
previous day. Is there a way to specify, in DTS, some method by which the
dts
automatically knows what file to pick as an import based on the system
date?
Thanks.
IMRAN



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.