Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: catalog/catproc as system
"Vince Bono" <vjb_at_netlabs.net> wrote in message
news:QICdnX638ajCmZ_eRVn-gg_at_netlabs.net...
>I found a script that will generate sql to remove all 'INVALID' objects.
>
> select 'drop '||object_type||' ' ||owner||'.'|| chr(34) ||object_name ||
> chr(34)||';' from dba_objects where status = 'INVALID' and owner='SYSTEM';
>
> I added owner = SYSTEM to the end. And then plan to run
> @catalog
> @catproc
> @catexp
> afterwards...
> Is there any known pitfall to this approach ?
>
> -Vince
>
yes, ou drop object which should be owned by system which are invalid Received on Tue Aug 16 2005 - 14:38:29 CDT
![]() |
![]() |