Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
cplusplus
Aged Yak Warrior
567 Posts |
Posted - 2010-08-30 : 16:37:54
|
what is the better way to update the rows using select query:select revid,dmid,DocumentID from TAB_ccsNetDMRevision where dmid=@dmid and DocumentID=@docid---loop the following update statement with above select query resultset---update #TEMPFINDOCR1 set revid=@revid, revno=@revno where type_id=@dmid and docid=@docidThank you very much for the helpful info. |
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
|
|