dbTalk Databases Forums  

DTS recordset and SQL isolation level

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


Discuss DTS recordset and SQL isolation level in the microsoft.public.sqlserver.dts forum.



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

Default DTS recordset and SQL isolation level - 04-15-2010 , 04:12 PM






We have DTS package with isolation level of 'read commited'.
In this is a vbscript task that opens a recordset and loops through it.
Question: is it possible that the rows in the recordset get updated by tasks
outside DTS (website SQL updates) as it is looped through, or is the
recordset fixed as soon as it is opened?
What is happening is the recordset is based on SQL 'WHERE column IS NULL'.
Then every primary key read is strung together for an IN (key1,key2) clause
for an UPDATE statement later. However UPDATE statement updates different
number of rows than were read in loop.
-- Dorian
"Give someone a fish and they eat for a day; teach someone to fish and they
eat for a lifetime".

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.