select 'alter ' || object_type || ' ' || owner || '.' || object_name || ' compile' || ';' from dba_objects where status <> 'VALID' and object_type in ('VIEW', 'SYNONYM', 'PROCEDURE', 'FUNCTION', 'PACKAGE', 'TRIGGER');
select 'alter ' || object_type || ' ' || owner || '.' || object_name || ' compile' || ';' from dba_objects where object_type in ('VIEW', 'SYNONYM', 'PROCEDURE', 'FUNCTION', 'PACKAGE', 'TRIGGER') and owner in ('jephe');
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment