添加触发禁用删除用户激活信息

栏目:k3wise知识作者:金蝶来源:金蝶云社区发布:2024-09-22浏览:1

添加触发禁用删除用户激活信息

用户激活信息表是在kdacctdb账套里t_ActivedUser

IF EXISTS (SELECT 1 FROM sys.objects WHERE name = 'Trigger_ForbidDel_t_ActivedUser' )

DROP TRIGGER Trigger_ForbidDel_t_ActivedUser

GO

CREATE TRIGGER Trigger_ForbidDel_t_ActivedUser ON t_ActivedUser FOR DELETE AS

RAISERROR('不能删除用户注册信息', 16, 1);

ROLLBACK TRAN

GO



添加触发禁用删除用户激活信息

用户激活信息表是在kdacctdb账套里t_ActivedUserIF EXISTS (SELECT 1 FROM sys.objects WHERE name = 'Trigger_ForbidDel_t_A...
点击下载文档
确认删除?
回到顶部
客服QQ
  • 客服QQ点击这里给我发消息