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 |
pascal_jimi
Posting Yak Master
167 Posts |
Posted - 2014-02-08 : 02:26:23
|
hii have a two tableselect*from phonphone ASA111 james222 stivens333 null444 nullselect*from t2phone ASA111 james222 stivens333 jacke444 leeselect*from phon where ASA is null333 null444 nullhow i make update table phon column ASA only ASA is nullafter update table phonfor example select*from phonphone ASA111 james222 stivens333 jacke444 leehttp://sql-az.tr.gg/ |
|
bitsmed
Aged Yak Warrior
545 Posts |
Posted - 2014-02-08 : 05:31:17
|
Try this:update phon set ASA=t2.ASA from t2 where phon.ASA is null and t2.phone=phon.phone |
 |
|
pascal_jimi
Posting Yak Master
167 Posts |
Posted - 2014-02-10 : 03:44:58
|
thank you very muchhttp://sql-az.tr.gg/ |
 |
|
|
|
|