摘要:
sql的事务 1 sql 2 create database model 3 go 4 use model 5 go 6 create table Stu( 7 id int , 8 name varchar(200) 9 )10 go11 select * from Stu12 go13 begin transaction cc14 begin 15 --print @@Trancount16 insert into Stu (id,name) values(1,'33')17 insert into Stu (id,name) values('sd', 阅读全文