Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想重新部署一些包。这里的简化代码:
vCode CLOB; SELECT DBMS_METADATA.GET_DDL('PACKAGE_BODY', 'MY_PACKAGE', USER) INTO vCode FROM DUAL t; EXECUTE IMMEDIATE CONVERT(vCode, 'WE8MSWIN1252', 'US8PC437');
是否可以检查代码是否可以正确编译?如果是这样,运行EXECUTE IMMEDIATE命令?非常感谢!
EXECUTE IMMEDIATE