資訊分享
2013年12月25日 星期三
用其它的 Table 來更新資料
t1:為要被更新的資料表
t2:為來源資料表
語法:
update t1
set t1.email = t2.email
from t2
where t2.name = t1.name
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言