dbTalk Databases Forums  

sql task

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


Discuss sql task in the microsoft.public.sqlserver.dts forum.



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

Default sql task - 04-13-2005 , 06:23 AM






Hi,

I was wondering if it is nessesary to use the statements 'begin transaction'
and 'commit transaction' in a sql task within a dts. I have a task where i
update some data, but i thought that if the dts fails the whole job will be
rolled back.

Is this true?



Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: sql task - 04-13-2005 , 01:24 PM






Nope

UPDATEs to data should be done through procs ideally.

You can have the package start a transaction and have a task join if
present. (Not everything can join though)

If you google on my name and transactions in DTS you should see how to
set this up.

Allan



"Jason" <jasonlewis (AT) hotrmail (DOT) com> wrote


Quote:
Hi,

I was wondering if it is nessesary to use the statements 'begin transaction'
and 'commit transaction' in a sql task within a dts. I have a task where i
update some data, but i thought that if the dts fails the whole job will be
rolled back.

Is this true?


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.