diff between DELETE and TRUNCATE?.

Answer Posted / shree

Delete command always used with where clause.
but Truncate is not.

Delete command deletes only selected rows/records from table
which are defined in where clause.
But Truncate command deletes all records from the Table
without using where clause.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Please explain joins in oracle?

788


What is materialized view in Oracle?

826


What are the common oracle dba tasks?

841


Why does oracle 9i treat an empty string as null?

736


How can I convert single byte kana characters into multi byte kana characters and vice-versa.

2144


while i take backup using ibm tsm the following errors occurred: rman-03009 ora-19513 ora-27206 ora-19502 ora-27030 ora-ora19511

4125


What is the difference between alert log file and tarce file ?

1848


What are the different types of modules in oracle forms?

742


How would you configure your networking files to connect to a database by the name of DSS which resides in domain icallinc.com?

1684


How to loop through data rows in the implicit cursor?

777


What are the parameters that we can pass through a stored procedure?

806


What is query image?

740


What is an oracle tablespace?

777


Give the advantages and disadvantages of clusters.

778


Where are the settings stored for each instance in oracle?

874