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

Difference between pre-select and pre-query

561


What is the purpose of save points in oracle database?

531


How to use existing values in update statements using oracle?

538


How to rename an index in oracle?

610


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

542






normally database take to refresh time 2 hours. but client asked iwant to refresh with in 5 min that same database. do you have any option in BO and Oracle? explain me briefly...kavi

1728


how to join query for one source type is oracle another source type is sql server ?

1970


How to login to the server without an instance?

610


Why do you use stored procedures and state some of its disadvantages?

552


How to do clean up if create database failed?

555


How to convert raw data type into text in oracle? Explain

593


What is key preserved table?

552


Design database draw er diagram for a certain scenario ?

4090


Can we commit inside a function in oracle?

542


What is a subquery in oracle?

568