dbTalk Databases Forums  

Does a DTS package lock a database table?

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


Discuss Does a DTS package lock a database table? in the microsoft.public.sqlserver.dts forum.



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

Default Does a DTS package lock a database table? - 07-12-2006 , 10:38 PM






I am using DTS from VB6 to transfer a table from an Oracle database into SQL
Server. There are 17 tables, so I am looping to transfer the tables, then I
have to truncate the tables to perform other operation. Somewhere around the
12th table or so, it seems I cannot truncate the table and just get a timeout
error. I am sending a TSQL command through a DAO database object in a
passthrough mode. I am assuming the problem is some sort of lock that DTS
has on the table. In my code I am setting the Package object to nothing
after the transfer is executed.

I have paused my program at that step where it hangs and I cannot perform a
truncate even through Query Analyzer.

Any help would be greatly appreciated.

Thanks in advance,

WayneM

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.