compile objects problem

Hi,

"Tools"->"Compile Invalid Objects..." don't compile objects with names starting with underscore. When I run script, where object names enclosed with double quotes, as DBA (see bellow) in command window - all objects recompilled without any problem.

select 'alter view '||t.owner||'."'||t.object_name||'" compile;'
from dba_objects t
where t.object_type = 'VIEW' and t.status = 'INVALID';
>>
alter view SYS."_ALL_REPCOLUMN" compile;
alter view SYS."_ALL_REPCOLUMN_GROUP" compile;
alter view SYS."_ALL_REPCONFLICT" compile;
alter view SYS."_ALL_REPEXTENSIONS" compile;
alter view SYS."_ALL_REPFLAVOR_OBJECTS" compile;
alter view SYS."_ALL_REPGROUPED_COLUMN" compile;

With best regards, Michael Maramzin
 
Back
Top