解决用友U8删除用户时提示“用户已启用”不能删除的问题

USE UFSystem
go DECLARE @cUser_Id NVARCHAR(20)
SET @cUser_Id='用户的登录名' DELETE l FROM dbo.UA_TaskLog l INNER JOIN dbo.ua_Task t ON t.cTaskId = l.cTaskId WHERE t.cUser_Id=@cUser_Id
DELETE FROM dbo.ua_Task WHERE cUser_Id=@cUser_Id

  

上一篇:C++面试笔记(2)


下一篇:python中新式类和经典类的区别