我得到了这个查询,我想更新2行。从这:在Sql Server中简单更新查询
---------------------
CodTID Description
1 Córdoba
2 Corrientes
---------------------
要这样:
---------------------
CodTID Description
1 Corrientes
2 Córdoba
---------------------
这是我的查询:
UPDATE Table
SET
Description = 'Córdoba'
, Descrition = 'Corrientes'
WHERE
CodTID = '1'
AND CodTID = '2'
GO
我不能体会到什么是错的。我是新来的。
谢谢!
CodTID不能在同一时间1和2! – Galma88 2015-03-13 15:21:13