What is the type of TRUNCATE statement, whether it is a DDL or DML type ?

I have read somewhere as DDL statement as it has implicit commit statement.

Questions by narayanapv   answers by narayanapv

Showing Answers 1 - 11 of 11 Answers

Hema

  • May 15th, 2006
 

Trucate is DDL statement..which remove the data from the tables..But the structure will remain constant.

  Was this answer useful?  Yes

Dear ,

         There is no doubt that TRUNCATE is a DDL Command.

          TRUNCATE deletes all the data from the table, but the structure remains as it is.

srinivas.

  Was this answer useful?  Yes

Amol

  • May 24th, 2006
 

Truncate is a DDL statment.

  Was this answer useful?  Yes

Arun

  • May 31st, 2006
 

Truncate                                                       DELETE

DDL Statement                                            DML statement

Cannot be rolled back                                   Can be rolled back

Where clause cannot be used                            Where can be used

  Was this answer useful?  Yes

Chiranjeevi Manne

  • Mar 30th, 2007
 

TRUNCATE is a DDL statement which can't be rolled back as there won't be any redolog generated during the trun operation and it is the fastest way of dropping big tables avoiding tons and tons of redolog generation.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions