摘要: 示例1:ALTER PROCEDURE dbo.newstapein ( @program nvarchar(50), @tapecode nvarchar(50), @department nvarchar(50), ) AS /* SET NOCOUNT ON */ if Exists(select * from ttape where program = @program and tapecode = @tapecode) begin return -100 end elsebegin begin transaction insert into ttape(program,tape... 阅读全文
posted @ 2011-10-21 11:17 流失的痕迹 阅读(349) 评论(0) 推荐(0) 编辑