dbTalk Databases Forums  

Handling transaction in DTS

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


Discuss Handling transaction in DTS in the microsoft.public.sqlserver.dts forum.



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

Default Handling transaction in DTS - 06-08-2004 , 11:32 PM






Hi All,

I am using some 'Execute SQL Task's and fire some stored proc from it, and I
need transaction in it.
should I still handle transaction Commit Rollback in stored proc ?
Or is it enough to handle Transaction in the Task's workflow properties ?

Thank you for your help,
Trist



Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: Handling transaction in DTS - 06-09-2004 , 04:22 AM






Does the transaction need to span more than this task?

If so the read the section in Books Online about using DTS transactions,
and yes you will then need to set the task/step level or package level
options.

If the transaction is only within the one task, then just normal T-SQL
transaction statements and appropriate syntax. It will have less overhead,
and be easier to manage.


--
Darren Green
http://www.sqldts.com


"tristant" <krislioe (AT) cbn (DOT) net.id> wrote

Quote:
Hi All,

I am using some 'Execute SQL Task's and fire some stored proc from it, and
I
need transaction in it.
should I still handle transaction Commit Rollback in stored proc ?
Or is it enough to handle Transaction in the Task's workflow properties ?

Thank you for your help,
Trist





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.