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 |
|
harshal_in
Aged Yak Warrior
633 Posts |
Posted - 2003-02-21 : 01:08:50
|
| hi,I have these two update queries:update table1 set col1='xyz' where id=4update table2 set col2='abc' where id=4can i combine these two updates into one?there is a relation between the two tables on column 'id'.thanks,Regards, Harshal.Expect the UnExpected |
|
|
ojn.
Starting Member
10 Posts |
Posted - 2003-02-21 : 02:27:54
|
| Afraid not. Each Update can only affect one table.---ojhttp://www.rac4sql.net---ojwww.rac4sql.net |
 |
|
|
harshal_in
Aged Yak Warrior
633 Posts |
Posted - 2003-02-21 : 02:42:58
|
quote: Afraid not. Each Update can only affect one table.---ojhttp://www.rac4sql.net---ojwww.rac4sql.net
hmm...ok thnks for the reply.harsh.Expect the UnExpected |
 |
|
|
|
|
|