Hi,
I am doing a purge process and trying to delete rows .Let me know how
efficiently I can handle the purge process because of the RI on the
tables.
TABLE A is a PARENT of TABLE B, TABLE C, TABLE D. I want to purge
rows from all the tables TABLE A (Parent), TABLE B (Child), TABLE C
(Child) and TABLE D (Child).
All these tables have DELETE RESTRICT . I dont want to have the orphans
in the table.
I dont want to have the child row exist without a parent. I thought of
purging the data starting by identifying what rows need to be purged
from the PARENT and delete from the CHILD.
Is this a good approach or Is there a better way so that Performance
will not be problem too.
Let me know
Thanks