Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 AUTOMATION of Import/Export Process

Author  Topic 

vertron
Starting Member

1 Post

Posted - 2006-06-03 : 19:10:27
I receive a daily feed from my FTP server that has to be uploaded to my sql server database on a daily basis.

this current procedure requires editting the source fields lenghts from the standard NVARCHAR(50) using the Advanced Tab.

Everthing else is fairly straigt-forward.

Is there a method for writing an automation script in which my customized Import file process could be automatically loaded daily?

nr
SQLTeam MVY

12543 Posts

Posted - 2006-06-03 : 19:13:33
have a look at
http://www.nigelrivett.net/FTP/s_ftp_GetDir.html
http://www.nigelrivett.net/FTP/s_ftp_GetFile.html
http://www.nigelrivett.net/SQLTsql/s_ProcessAllFilesInDir.html

You can probably schedule an sp calling those sps to do it.

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -