what is the difference between Delete and Truncate

Answer Posted / anil sharma

Delete command execute row by row and it can't reset any
identity column's value.
But using Truncate command it reset all table and Identity
column also.So truncate command is fast then delete command.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by data manipulation language?

597


How many triggers are possible per table?

633


What is triggers and stored procedures?

519


What are the properties and different types of sub-queries?

570


Mention the differences between having and where clause.

561






Where do we use trace frag?

576


How to connect ms access to sql servers through odbc?

555


How raid can influence database performance?

580


Relational calculus is what type of language?

581


Explain data warehousing in sql server?

604


How except clause is differs from not in clause?

538


What is rank function?

606


What guidelines should be followed to help minimize deadlocks?

510


How do indexes help, types?

556


what happens on checkpoint? : Sql server database administration

514