摘要:
示例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... 阅读全文