Database Administrator (DBA) Question:

Download Job Interview Questions and Answers PDF

A table is classified as a parent table and you want to drop and re-create it. How would you do this without affecting the children tables?

Database Administrator (DBA) Interview Question
Database Administrator (DBA) Interview Question

Answer:

Disable the foreign key constraint to the parent, drop the table, re-create the table, enable the foreign key constraint.

Download Database Administrator (DBA) Interview Questions And Answers PDF

Previous QuestionNext Question
What is a Segment?Explain the difference between ARCHIVELOG mode and NOARCHIVELOG mode and the benefits and disadvantages to each.