sviriyal
asked on
Automating DTS import of data files
Hi guys,
I have a number of data files in comma separated value format that need to be imported into a database in SQL Server. Until now, I have been using Enterprise Manager to manually go through the DTS wizard and import each file one by one. Is there any way of creating a batch job that will do the import file by file? Any ideas would be much appreciated!
Thanks!
I have a number of data files in comma separated value format that need to be imported into a database in SQL Server. Until now, I have been using Enterprise Manager to manually go through the DTS wizard and import each file one by one. Is there any way of creating a batch job that will do the import file by file? Any ideas would be much appreciated!
Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You can also right click on the DTS package in EM and choose to Schedule the package as appropriate for your needs...
ASKER
This is too good!!!! Thanks so much estyler! I will raise the points because I think the quick response time deserves some merit too. Thanks again!
You can also run DTSRUNUI from a command prompt and it will generate the string you need to run a job....
/s servername /u username /p password /n dtspackagename