Can you tell me the difference between DELETE & TRUNCATE
commands?
Answer Posted / amita
Delete command only delete the rows from the table but the
schema of the table yet remains.Whereas Truncate command
delete the rows along with the tale's schema from the
memory permanently.
| Is This Answer Correct ? | 3 Yes | 28 No |
Post New Answer View All Answers
What are the new security features added in sql server 2012? : sql server security
What is sql service broker?
which table keeps the locking information? : Sql server administration
What is acid mean in sql server?
Explain forward - only cursors?
What is a transaction and why is it important?
What is the difference between char and varchar2 datatype in sql?
Explain the dirty pages?
What are the new features in SQL Server 2005 when compared to SQL Server 2000?
What are different types of statements that are supported by sql?
What is log shipping? Can we do logshipping with SQL Server 7.0 - Logshipping is a new feature of SQL Server 2000. We should have two SQL Server - Enterprise Editions. From Enterprise Manager we can configure the logshipping. In logshipping the transactional log file from one server is automatically updated into the backup database on the other server. If one server fails, the other server will have the same db and we can use this as the DR (disaster recovery) plan.
What is the correct order of the logical query processing phases?
How to select an exiting database using mssql_select_db()?
What are the grouping functions?
What is an execution plan? When would you use it?