S. Studeny
Member²
Hello.
It would be great to add (maybe as separate tab) referencing constraints to the current table in Table edit/view action like per following SQL (can be modified):
select cr.*
from dba_constraints cr,
(select * from dba_constraints cx where cx.constraint_type = 'P' and cx.owner = :TAB_OWNER and cx.table_name = :TAB_NAME) cp
where cr.CONSTRAINT_TYPE = 'R'
and cr.R_OWNER = cp.owner
and cr.R_CONSTRAINT_NAME = cp.constraint_name
Thanks for considering this.
Regards,
Stanislav
It would be great to add (maybe as separate tab) referencing constraints to the current table in Table edit/view action like per following SQL (can be modified):
select cr.*
from dba_constraints cr,
(select * from dba_constraints cx where cx.constraint_type = 'P' and cx.owner = :TAB_OWNER and cx.table_name = :TAB_NAME) cp
where cr.CONSTRAINT_TYPE = 'R'
and cr.R_OWNER = cp.owner
and cr.R_CONSTRAINT_NAME = cp.constraint_name
Thanks for considering this.
Regards,
Stanislav