What is the difference between truncate and delete statement?
Answer Posted / balaji t
Identity counter can be reset in truncate whereas it is not possible in delete.Truncate dont activate trigger whereas delete can be used in triggers.truncate is a DDL command whereas delete is a DML command.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain triggers?
What are types of scd? : sql server analysis services, ssas
What is sql server programming?
Does sql server use java?
What are the advantages of sql stored procedure?
How do we Backup SQL Azure Data?
What is view in sql?
what are the different ways to return the rowcount of a table?
How can we delete Duplicate row in table?
What is scan table/view and seek table/view when its occurs? : sql server database administration
What are trace flags?
Does order by actually change the order of the data in the tables or does it just change the output?
Explain different types of collation sensitivity?
What is system stored procedures?
ow to bring suspect mode datbase online from scratch