CREATE procedure [dbo].[sp_TableSave] @TypeID tinyint, -- 0 新增,1 修改,2 删除 @ID int, ), ), ), @UID int, ), )' output as set nocount on begin try begin transaction -- 开始事务 declare @currDate SMALLDATETIME SET @currDate=GETDATE() ') --修改 begin where Activi…