What's the difference between DELETE TABLE and TRUNCATE
TABLE commands?
Answer Posted / srisenthil
delete table gives the transactional log where as in
truncate it is not delete the total rows inthe table but
structure of the table has never changed after the
statement is executed it is roll back and the constraints
after the delete statement is remain same where as it is
not in the truncate statement
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
What is a Join and explain its types?
What is pivot and unpivot?
How to disconnect from a sql server using mssql_close()?
Explain transaction isolation levels in sql server?
What do you mean by sql server agent?
What is trigger and different types of Triggers?
Do you know what is fill factor and pad index?
What are the advantages of partitioning?
Benefits of Stored Procedures?
On a windows server 2003 active – passive failover cluster, how do you find the node which is active?
You are doing log shipping due to some reasons it is failing. How you will proceed from there
How to set database to be single_user in ms sql server?
Tell me when is the update_statistics command used?
Is the primary key column of a table an index in ms sql server?
Write a query to find 5th highest amount paid from the customer table.