摘要: SQL Server中 IF NOT EXISTS (SELECT 1 FROM t WHERE id = 1) INSERT INTO t (id, update_time) VALUES (1, getdate()) ELSE UPDATE t SET update_time = getdate 阅读全文
posted @ 2016-03-09 15:02 云中飞鱼 阅读(1922) 评论(0) 推荐(0) 编辑