What is difference between TRUNCATE & DELETE?

Answer Posted / pravallika

We can specify a condition while using deletecommand.But
Truncate is unconditional

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can I create table without primary key?

525


What are the 3 types of behavioral triggers?

655


Why do we use view in sql?

530


how to decrement dates by 1 in mysql? : Sql dba

578


table structure: ---------------- col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10 01-mar-2012 11:12:46 01-mar-2012 11:11:23 Write a query to display the result as shown below: col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10

3325






What are the operators used in select statements?

568


What is the use of non clustered index?

526


How many unique keys can a table have?

549


How do I trace sql profiler?

491


Is a secondary key the same as a foreign key?

486


How is indexing done in search engines?

527


What is clause in sql?

577


Explain raise_application_error.

640


What is sql indexing?

546


how to include numeric values in sql statements? : Sql dba

555