Hi
Shuan,
Have
known the Third party of oracle from Quest Software , The product name is TOAD.
Using this application you can check the valid or invlaid the procedure and also
you can recompile it. Or, you can create the script to check function,
procedure,view,and trigger from table dba_objects.
set
termout off
set feed off set heading off set echo off set verify off set linesize 180 set pagesize 0 spool
alter_all_invalid_list.sql
select 'promp '|| object_name||chr(10)||'ALTER '|| decode(
OBJECT_TYPE,'PACKAGE BODY','PACKAGE',OBJECT_TYPE) ||' ' ||object_name||'
COMPILE;'
from user_objects where status ='INVALID' and upper(object_name) != 'DEBUG' order by object_type, object_name; prom
exit
spool
off
exit
And
create the batch file :
sqlplus username/password
@alter_a;;_invalid_list.sql
The
script above you can run anytime or you can put into the scheduller which
running every night.
Thank's
Bernardus Deddy Hoeydiono.
|
- invalid procedure/trigger shuan.tay\(PCI鄭祺勛\)
- RE: invalid procedure/trigge... Richard Ji
- Re: invalid procedure/trigge... Mark Richard
- Re: invalid procedure/trigge... Bernardus Deddy Hoeydiono
- Re: invalid procedure/trigge... Djordje Jankovic
- RE: invalid procedure/trigge... Richard Ji
- Re: invalid procedure/trigge... shuan.tay\(PCI鄭祺勛\)
- RE: invalid procedure/trigge... Rachel Carmichael
- RE: invalid procedure/trigge... Charu Joshi
- RE: invalid procedure/trigge... Charu Joshi