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 |
|
u2p_inst
Yak Posting Veteran
78 Posts |
Posted - 2003-08-13 : 07:14:20
|
| i have two tables(table a and table b)how to updating some records in table a if the record source in table b with sql syntax:oh |
|
|
Amethystium
Aged Yak Warrior
701 Posts |
Posted - 2003-08-13 : 07:42:42
|
I am not quite sure what you mean here.Maybe something like this :UPDATE tableaSET someColumn = b.SomeValue, anotherColumn = b.anotherValueFROM tableb AS bWHERE tablea.someID = b.SomeID ------------------------------------------------------------------------------I enjoy using SQL Server but I am not part of the Microsoft fanboy club! NEVER!! |
 |
|
|
|
|
|