BEGINSET NOCOUNT ON;if @_MODE NOT IN ('A','M','D') begin raiserror('参数错误!',16,3); return; end; declare @rowcount int,@error int; if @_MODE='A'begin insert into szdxInfo (Id,Bh,[Name],nation) select @Id,@Bh,@Name, @Nation; if @@error<>0 return;end; i…