diff between DELETE and TRUNCATE?.

Answer Posted / padma

delete comd is used to delete not a specific record rather
all records without affecting the structure of the records
truncate comd is used to delete all the records from
existing table,retaining the structure o that table.
by using delete comd v can rollback all the delete
records .it is record level cmd
wherease truncate cmd v cannot rollback. it is table
level cmd

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between sid and service name in oracle?

507


Explain user account with reference to oracle.

524


How to create an initialization parameter file?

535


definition of cluster and non-clustered index?

2471


What is Undo Management Advisor in Oracle?

603






How to put more than 1000 values into an oracle in clause?

579


How are extents allocated to a segment?

571


What are ddl statements in oracle?

584


11. Display the client number and name and the client number and name of the person who referred that client.

1913


How to define a data field as not null?

628


How do I use unicode codesets with the weblogic jdriver for oracle driver?

542


What is the difference between the Oracle ODBC driver and a Microsoft ODBC (Open Database Connectivity) Driver?

606


Explain the use of indexes option in exp command.

586


What is a synonym? What are its various types?

617


How would you best determine why your MVIEW couldnt FAST REFRESH?

1428