摘要: 如需运行分布式事务,需启动Distributed Transaction Coordinator服务,如启动该服务报错,输入CMD命令msdtc -resetlog即可。T-SQL:Create Table TranTable( Id INT IDENTITY(1,1) PRIMARY KEY, Priority TINYINT--最大值255)C#:string sql1 = "INSERT INTO TranTable VALUES(1)";//正常插入string sql2 = "INSERT INTO TranTable VALUES(256)" 阅读全文
posted @ 2012-09-21 08:31 唔愛吃蘋果 阅读(2201) 评论(1) 推荐(0) 编辑