diff between DELETE and TRUNCATE?.

Answer Posted / ron

again to add to my earlier positing, many forget that is the
table has materialized view log truncating table will
corrupt the materialized view.

in that case you have to user:
truncate table schema_name.table_name purge materialized views;

you can read more about it here:
http://www.psoug.org/reference/truncate.html

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can any one explain me when i execute below query.. select months_between('07-JUL-12','10-FEB-12') from dual; Out put:- 4.90322581 How oracle calculate?

1036


Explain the use of grant option in exp command.

668


How to use "while" statements in oracle?

815


how to do daily transactions with out sql* loader control file regesterd in apps?

1307


What is the difference between substr and instr?

601






What is the difference between hot backup and cold backup in oracle?

624


Explain the use of record option in exp command.

628


What is the usage of analyze command in oracle?

700


What is the sql query to concatenate column values from multiple rows in oracle?

666


How to check the server version in oracle?

690


What are the various oracle database objects?

783


What are the different types of record groups in oracle? Explain each of them

681


what is insert all statement in sql

5714


How can we force the database to use the user specified rollback segment?

664


What is Undo Management Advisor in Oracle?

687