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?

Answers were Sorted based on User's Feedback



A table is classified as a parent table and you want to drop and re-create it. How would you do th..

Answer / shailesh donda

1. DISABLE FOREIGN KEY CONSTRAINT
2. DROP THE PARENT TABLE
3. RECREATE THE PARRENT TABLE
5. ENTER THE MEANINGFUL DATA IN PARENT TABLE
4. ENABLE FOREIGN KEY CONSTRAINT

Is This Answer Correct ?    29 Yes 5 No

A table is classified as a parent table and you want to drop and re-create it. How would you do th..

Answer / hitesh

or we can also use ondelete cascade option while creating
table.using this help as to delete or change the data
easily in parent

Is This Answer Correct ?    2 Yes 3 No

A table is classified as a parent table and you want to drop and re-create it. How would you do th..

Answer / sandra

drop foreign key constraint
drop parent table
recreate parent table
alter child table add foreign key

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Oracle AllOther Interview Questions

When a user process fails, what background process cleans up after it?

1 Answers  


How would you go about increasing the buffer cache hit ratio?

0 Answers  


Should you take the backup of Logfiles if the database is running in ARCHIVELOG mode?

4 Answers  


You have just compiled a PL/SQL package but got errors, how would you view the errors?

1 Answers  


What are the main diff. between oracle 7.3 and oracle 8i?

1 Answers  






What does coalescing a tablespace do?

2 Answers  


Can anybody tell which is the best training institute for learning Oracle in chennai...? And i also i want placement assurance

1 Answers  


please explain about oracle

1 Answers  


1. What is PO rate variance gain and loss?

0 Answers   Oracle,


What is auto invoicing? : oracle accounts receivable

0 Answers  


What is the Difference between the Person_Type_id column in the per_all_people_f and per_person_type_usages_f

0 Answers  


what are the advantages of Oracle over other databases..? please give me reply...

2 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)