摘要: 方案1:SET TRANSACTION ISOLATION LEVEL SERIALIZABLE; BEGIN TRANSACTION; IF EXISTS (SELECT 1 FROM dbo.table WHERE PK = @PK) BEGIN UPDATE ... END ELSE BEGI 阅读全文
posted @ 2018-08-14 09:14 81 阅读(131) 评论(0) 推荐(0) 编辑