2012年3月22日

存储过程中使用事务

摘要: Create PROCEDURE UpdateWanjun@UserName nvarchar(500),@UserPassword nvarchar(500),@ReturnVal int outputAS --Set XAcT_ABORT ON Begin Transaction T Update admins set UserPassword = @UserPassword where UserName = @UserName Update admins set UserPassword = @UserPassword,a='aaadfasdfasdfas' where 阅读全文

posted @ 2012-03-22 17:43 泰达 阅读(313) 评论(0) 推荐(0)

导航