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
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 |
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 |
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 |
what is the link between suppliers and banks in ap module in oracle apps? And also query?
What is store procedure?and how do u take the values from database and run in scripts?
HOW TO GET THE ORGANIZATION TO ORGANIZATION DETAILS INFORMATION IN THE INVENTORY MODULE.THE REQUIREMENT IS FROMORG TOORG FROMINV TOINV ..
deference between & and &&
What is the difference between a TEMPORARY tablespace and a PERMANENT tablespace?
how to write a query without using where? Example- select * from employee where empno=10 I need to write this query without where clause.
can we drop dual table
how to create an user in oracle 10g.please give me an example..
i am having comm in emp table and i want to display 0 when comm =null and -10 if comm= value
can u give guidance abt packages of plsql
default triggers available for reports
what is semphore explian it?