查检无效对象并编译使其生效
xilangxiangwa
2010-08-11 10:22:05
Linux操作系统
原创
column object_name format a40;
set heading off;
select 'alter '||object_type||' '||object_name||' compile;'
from user_objects
where status = 'INVALID'
ORDER BY object_type;
spool d:\spool_text.sql;
/
spool off;
@d:\spool_text.sql;
/
检查数据库空间
查找警告日志存于磁盘何处