摘要:
set ANSI_NULLS ONset QUOTED_IDENTIFIER ONGOcreate PROCEDURE [dbo].[GuestBook_DeleteGuestBookById]@Id intASBEGINbegin tran Del--开始事务DECLARE @DelError int--定义记录错误数的变量delete GuestBook where Id=@Id--执行SQL语句1set @DelError=@DelError+@@ERROR--设置错误数量Delete GuestBook where GBookId=@Id--执行SQL语句2set @DelError= 阅读全文
posted @ 2011-01-13 14:48
ycmoon
阅读(265)
评论(0)
推荐(0)

浙公网安备 33010602011771号