dbTalk Databases Forums  

how to find out if a TSQL table is being updated?

microsoft.public.sqlserver.clustering microsoft.public.sqlserver.clustering


Discuss how to find out if a TSQL table is being updated? in the microsoft.public.sqlserver.clustering forum.



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

Default how to find out if a TSQL table is being updated? - 11-30-2007 , 07:06 PM






how to find out if a TSQL table is being updated?

for example if someone does an update to a table that takes a long time, is
there anyway for me to check the status of that update process?



Reply With Quote
  #2  
Old   
Linchi Shea
 
Posts: n/a

Default RE: how to find out if a TSQL table is being updated? - 12-01-2007 , 09:30 AM






There is no built-in and generally applicable method to determine the
progress of an UPDATE (e.g. to be able to answer how much longer it will take
for the UPDATE to complete). The reason being that UPDATE can be processed in
many different way.

If we are talking about a very large update, you may want to break it into
multiple smaller batches of update, and insert code yourself to report the
progress.

Linchi

"DR" wrote:

Quote:
how to find out if a TSQL table is being updated?

for example if someone does an update to a table that takes a long time, is
there anyway for me to check the status of that update process?




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.