BEGIN
SQLSTR := 'UPDATE TBL ...';
EXECUTE IMMEDIATE SQLSTR;
EXCEPTION WHEN OTHERS
INSERT INTO LOG_TABLE VALUES SQLSTR; -- 插入到异常记录表
...
END;
http://bbs.csdn.net/topics/20052660
2023-08-06 14:51:22
BEGIN
SQLSTR := 'UPDATE TBL ...';
EXECUTE IMMEDIATE SQLSTR;
EXCEPTION WHEN OTHERS
INSERT INTO LOG_TABLE VALUES SQLSTR; -- 插入到异常记录表
...
END;
http://bbs.csdn.net/topics/20052660
下一篇:项目进行ing