使用表连接查询更新整个单列
这个问题在这里已经有了答案:
UPDATE kg
SET Kg.kioskName = K.name
from KioskGoals kg inner join [TestDB].dbo.Kiosks k
on kg.kioskID = k.Id
链接地址: http://www.djcxy.com/p/16857.html
上一篇: Update an entire single column with table joined query
下一篇: Sql Update Query