This content has been marked as final. Show 4 replies
Pl post details of OS and database versions, along with the complete import command and the complete import log
database version-11g,OS- windows XP
i never faced any issue while taking import,once import was done i tried to enable the constraints,but for some constraints i cudn't
based on this issue,is there any simple query to findout the missing records in parent table,i don't have access for child_table,parent_table views.
FYI- am using traditional imp/exp command to accomplish data import and export activities,i tried with the following query,but not getting any output
select 'select '||cc.column_name-
||' from '||c.owner||'.'||c.table_name-
||' a where not exists (select ''x'' from '-
||' where '||rc.column_name||' = a.'||cc.column_name||')'
from dba_constraints c,
where c.constraint_type = 'R'
and c.owner not in ('SYS','SYSTEM')
and c.r_owner = r.owner
and c.owner = cc.owner
and r.owner = rc.owner
and c.constraint_name = cc.constraint_name
and r.constraint_name = rc.constraint_name
and c.r_constraint_name = r.constraint_name
and cc.position = rc.position
and c.owner = '&table_owner'
and c.table_name = '&table_name'
and c.constraint_name = '&constraint_name'
can anyone suggest to fix it using some other option.
Thanks for the response!