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

How many data types are supported?

620


How to rename a column in an existing table?

616


Explain how are indexes update?

623


How to create a new tablespace in oracle?

560


What query tells you how much space a tablespace named test is taking up, and how much space is remaining?

1809






What is an external table?

586


What happens if variable names collide with table/column names?

584


What is a connect identifier?

543


What is the data type of dual table?

528


Explain the difference between sql and oracle?

582


What is a trace file and how is it created in oracle?

554


How can you use check constraints for self referential integrity?

523


What do database buffers contain?

565


What are the various oracle database objects?

681


What is format trigger?

1616