存储过程中使用事务
摘要: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
浙公网安备 33010602011771号