Can you tell me the difference between DELETE & TRUNCATE
commands?
Answer Posted / kapil
Delete: is a DML command.
Truncate: is a DDL command.
Delete & Truncate both can be rolled back.
Untill you have not commit transaction.
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What you can do to delete a table without the delete trigger firing?
What can be used instead of trigger?
What is the exact numeric data type in sql?
Is resultset an interface?
Which are the third-party tools used in sql server and why would you use them?
Explain important index characteristics?
Explain identity in sql server?
What is difference between join and natural join?
Differentiate between SQL and ORACLE joins and write their syntax.
What is set nocount on?
How to delete an existing database user?
what are defaults? : Sql server database administration
What are the different Authentication modes in SQL Server and how can you change authentication mode?
Explain primary key and foreign key constraints?
Write a program using SQL queries to find a unique entry in a table.