![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi -- I have a database that I need to export about 20 tables from daily to another database. This exported database will be backed up and shipped off to a customer on a daily basis. What is the best way to handle this via DTS? For example: 1) From EM, I selected the database and then picked each table to export and selected my destination database. The only problem with this approach is that I see that EM creates a Source/Dest and task for each table. One of my requirements will be to truncate all the tables each day before importing. I guess using the SQL Server default will be a lot of work??? 2) I thought about creating my own package with one source/dest and creating 20+ tasks (one per table) and copying data this way. I figured I can then have a SQL Task setup to truncate all 20+ tables in one shot?? 3) After the DTS task is created, I want one of our Operators to launch manually. What is the best way to do this from DOS prompt? I know about DTSRUN. How do I execute a package from this? Does the screen display progress information? Also, does DTSRUN return an errorlevel if a package fails so that I can trap it within batch? Any help would be appreciciated. |
![]() |
| Thread Tools | |
| Display Modes | |
| |