摘要: Merge into [tableName] as t Using(select [@id] as tid) as t1 on t1.tid=t.id when matched then update set name='name1' when not matched then insert(name) values('name'); 阅读全文
posted @ 2016-09-02 17:29 xyzhuzhou 阅读(2322) 评论(0) 推荐(1) 编辑