dbTalk Databases Forums  

Softball

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


Discuss Softball in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Eric Inman
 
Posts: n/a

Default Softball - 10-07-2004 , 10:58 AM






Ok ,here is a slow pitch for you all stars to wail on. DTS script
that will truncate and load 7 tables. Each table load should be its
own transaction.
My solution was to:

1. Disable all workflow transaction properties
2. Create a SQL Begin Trans script
3. Create a SQL commit trans script and after successfull load
execute the commit
4. on a script failure run a rollback transaction script


This seems to be working ok. Is this a fair solution or poor
practice. This is contained in one dts script....

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.