all groups > sql server dts > june 2007 >
You're in the

sql server dts

group:

Periodic import



Periodic import Jeff Boyce
6/11/2007 5:44:14 AM
sql server dts: Tried BOL, Live Search, Google, <Find> here...

Receiving a periodic data file with date/time post-pended to the same
filename ... e.g.:
FileName20070607
FileName20070608
FileName20070609
...

Looking for a way to schedule a periodic import of the data within the
files. Considering DTS and BCP, but haven't found an example or specific
instructions.

Any leads?

Thanks!

Jeff
Re: Periodic import Jeff Boyce
6/11/2007 3:37:10 PM
Thanks for the response, Allan.

The filename will be fixed ... it's just the "post-pended" date part that
will change.

There will never be more than one file in the folder, but each file will
have a different post-pended date portion of the full name.

Each day after the SQL-Server routine runs (successfully), it should be able
to move that file to a different folder (\...\Loaded\...). Files will get
into the folder via an FTP process.

Regards

Jeff


[quoted text, click to view]

Re: Periodic import Allan Mitchell
6/11/2007 8:49:31 PM
Hello Jeff,

Is the filename important or is it that you want to import the files from
a directory?

If it is the latter then look here

http://www.sqldts.com/246.aspx


You can schedule using SQL Server Agent

--

Allan Mitchell
http://wiki.sqlis.com | http://www.sqlis.com | http://www.sqldts.com |
http://www.konesans.com

[quoted text, click to view]

AddThis Social Bookmark Button