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

WHAT IS CARTESIAN PRODUCT?

2 Answers  


How to find locks exists in a table or not?

1 Answers   HCL,


Explain about party and customer in ar : oracle accounts receivable

0 Answers  


1.In a table Gender is a column in that male and female are the two data.In a single statement i have to modify all male to female and all female to male vice versa. 2.In a single query i need the count of male data,count of female and total count

3 Answers   HP,


what is difference between inner join & nested query or subqueries

0 Answers  






what is shared memory?

1 Answers   IBM,


what is semphore explian it?

0 Answers   IBM,


can u give guidance abt packages of plsql

0 Answers   Mphasis,


What is mrc and what is its use? : oracle accounts receivable

0 Answers  


i have marks in table,how to find total?

1 Answers  


What is supporting issues GL AP and AR?

0 Answers   Oracle,


What is chargeback invoice? How do we create it? : oracle accounts receivable

0 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)