关闭

删除一个工作流

305人阅读 评论(0) 收藏 举报
--删除一个工作流
delete from wfprocess t where t.processname=\'WOTRACKING\' and t.processrev=\'18\';
delete from wfsubprocess  t where t.processname=\'WOTRACKING\' and t.processrev=\'18\';
delete from wfaction  t where t.processname=\'WOTRACKING\' and t.processrev=\'18\';
delete from wfassignment  t where t.assigncode is null and t.wfid=0 and t.processname=\'WOTRACKING\' and t.processrev=\'18\';
delete from wfcondition   t where t.processname=\'WOTRACKING\' and t.processrev=\'18\';
delete from wfinput   t where t.processname=\'WOTRACKING\' and t.processrev=\'18\';
delete from wfinteraction t where t.processname=\'WOTRACKING\' and t.processrev=\'18\';
delete from wfnode t where t.processname=\'WOTRACKING\' and t.processrev=\'18\';
delete from wfnotification t where t.processname=\'WOTRACKING\' and t.processrev=\'18\';
delete from wfrevision t where t.processname=\'WOTRACKING\' and t.processrev=\'18\';
delete from wfstart t where t.processname=\'WOTRACKING\' and t.processrev=\'18\';
delete from wfstop t where t.processname=\'WOTRACKING\' and t.processrev=\'18\';
delete from wftask t where t.processname=\'WOTRACKING\' and t.processrev=\'18\';
delete from wfwaitlist t where t.processname=\'WOTRACKING\' and t.processrev=\'18\';
delete from maxrole t where t.maxrole in(select t1.roleid from wfassignment t1 where t1.assigncode is null and t1.wfid=0 and t1.processname=\'WOTRACKING\' and t1.processrev=\'18\');
delete from action where action in(select t.action from wfaction t where t.processname=\'WOTRACKING\' and t.processrev=\'18\');
0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:61729次
    • 积分:1235
    • 等级:
    • 排名:千里之外
    • 原创:61篇
    • 转载:44篇
    • 译文:0篇
    • 评论:3条
    最新评论