select *
from GUPROPOSALCLAUSES t,GUPROPOSALMAIN tt
where t.PROPOSALNO = tt.PROPOSALNO(+)
--and t.PROPOSALNO = tt.PROPOSALNO (+)
and tt.PROPOSALNO is null
delete from GUPOLICYCOPYPAYMENTPLANDETAIL
where policyno=‘U604131516000277‘;
select (select a.table_name
from user_constraints a
where a.constraint_name = c.r_constraint_name) 主表表名,
c.r_constraint_name 主表主键键约束名,
c.table_name 从表表名,
c.constraint_name 从表外键约束名,c.*
from user_constraints c
where c.constraint_type = ‘R‘ and c.constraint_name=‘FK_GUPOLICY_R56‘;
时间: 2024-10-31 23:14:26