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-10-10 : 08:00:01
|
| Hi, I was just wondering why the following UPDATEdoes not workUPDATE tijobset aset a.jobkey = b.jobkeyFROM D_jobattributes b inner join tijobset con b.jobid = c.jobnumber |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2011-10-10 : 08:04:34
|
because its syntactically wrong. it should beUPDATE cset c.jobkey = b.jobkeyFROM D_jobattributes b inner join tijobset con b.jobid = c.jobnumber ------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
 |
|
|
tariq2
Posting Yak Master
125 Posts |
Posted - 2011-10-10 : 08:14:27
|
| Thank you Visakh :) |
 |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2011-10-10 : 08:43:05
|
| welcome------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
 |
|
|
|
|
|