-
How to convert the status of object "invalid" to "valid'?
How to convert the status of object "invalid" to "valid'?
select object_name, status from all_objects where status <> 'VALID';
-
-
if I have a package name VEH_RA_ADDRESSES_SV that the status is INVALID, the owner is APPS and object_type is PACKAGE, I need to recompile it in order to change the status from invalid to valid. The SQL should be
ALTER PACKAGE APPS.VEH_RA_ADDRESSES_SV
COMPILE PACKAGE;
AM I Right?
-
in general,
alter compile;
----------------
alter view myview compile;
show err;
alter package mypackage compile;
show err;
alter trigger mytrigger compile;
show err;
alter procedure myproc compile;
show err;
alter function myfunc compile;
The man called Zorro
-
Alter X compile can apply to
Function, package, procedure, trigger, view
How about package body and type?
-
-
I would like to ask the mypackage name. Is it that same as
select object_name from all_objects where status <> 'INVALID';
Since I try to alter package mypackage compile.
It said object does not exist.
-
I wondering s/thing... How old are you williamLWY?
The man called Zorro
-
-
Originally posted by WilliamLWY
22
No wonder....
How sure are you "alter X compile" work for fucntion/package/etc. Have you tried it? I donno if it is work in 10g... i never touch 10g before
The man called Zorro
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|