查看当前无效对象select*from dba_objects t where t.status='INVALID' order by 1;编译无效对象:有两种方式:1、执行sql查询结果:select 'alter '|object_type|' '|owner|'.'|object_name|' compile;' from dba_objects t where t....
SET feedback OFF SET heading OFF SET linesize 1000 SET pagesize 0 SET pause OFF SET trimspool ON SET verify OFF spool tmp.sql;组装SQL语句 SELECT 'alter '|object_type|' '|owner|'.'|object_name|' compile;...