摘要:
MERGE INTO T T1USING (SELECT a,b FROM T WHERE t.a='1001') T2ON ( T1.a=T2.a)WHEN MATCHED THEN UPDATE SET T1.b = 2WHEN NOT MATCHED THEN INSERT (a,b) VAL 阅读全文
摘要:
参考: http://blog.csdn.net/xinghalo/article/details/52433914 报错参考; http://blog.163.com/artsn@126/blog/static/3653328120110200121481/ http://www.iteye.co 阅读全文
摘要:
http://blog.csdn.net/guojin08/article/details/38704823 阅读全文