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 |
|
tariq2
Posting Yak Master
125 Posts |
Posted - 2011-09-22 : 12:45:29
|
| Hi,I have used the following to update a value in a job,update D_JobAttributes set Comments = (Select jccomnts from F590690 where jcmcu = ' 1103765101')WHERE JobID = '1103765101'What is the best way for performing a similar UPDATE for a number of Job IDs?110177270105110298660103110299060101110300270102110330090101110330090102110330100101110410410101 |
|
|
Kristen
Test
22859 Posts |
Posted - 2011-09-22 : 13:01:52
|
This perhaps?update Uset Comments = S.jccomntsFROM D_JobAttributes AS U JOIN F590690 AS S ON S.jcmcu = U.JobID Take a backup first! |
 |
|
|
|
|
|