标签:gif values int tin where images ica into none
MERGE INTO T T1
USING (SELECT a,b FROM T WHERE t.a=‘1001‘) T2
ON ( T1.a=T2.a)
WHEN MATCHED THEN
UPDATE SET T1.b = 2
WHEN NOT MATCHED THEN
INSERT (a,b) VALUES(‘1001‘,2);
标签:gif values int tin where images ica into none
原文地址:http://www.cnblogs.com/Baronboy/p/7502154.html