摘要: declare @funid int ;SET XACT_ABORT ON 语句产生运行时错误,则整个事务将终止并回滚。 Begin Tran insert into [dbo].[test]([ids]) values('1222');set @funid = (select @@identity 阅读全文
posted @ 2017-10-18 14:29 914556495 阅读(106) 评论(0) 推荐(0) 编辑