Hello,
PL/SQL Dev is launching a query to get the table comments and I think there is something wrong with the SQL:
select t.*, o.*, m.comments
from sys.dba_tables t,
sys.dba_tab_comments m,
sys.dba_objects o
where t.owner =
bject_owner
and t.table_name =
bject_name
and m.owner (+) =
bject_owner
and m.table_name (+) =
bject_name
and o.owner (+) =
bject_owner
and o.object_name (+) =
bject_name
and
bject_type is not null
and :sub_object is null
The last line should be "and o.SUBOBJECT_NAME is NULL;", no?
Because when I run this query manually for a partitionned table, it tries to get the "comments" value for all the partitions. Which makes no sense.
PL/SQL Dev is launching a query to get the table comments and I think there is something wrong with the SQL:
select t.*, o.*, m.comments
from sys.dba_tables t,
sys.dba_tab_comments m,
sys.dba_objects o
where t.owner =

and t.table_name =

and m.owner (+) =

and m.table_name (+) =

and o.owner (+) =

and o.object_name (+) =

and

and :sub_object is null
The last line should be "and o.SUBOBJECT_NAME is NULL;", no?
Because when I run this query manually for a partitionned table, it tries to get the "comments" value for all the partitions. Which makes no sense.