What is difference between TRUNCATE & DELETE?
Answer Posted / suneel
truncate:
---------
truncate is a ddl command.
ddl commands having auto commit.
delete:
-------
delete is a dml command.
dml commands not having auto commit.
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
How do you take the union of two tables in sql?
What are packages in pl sql and also explain its advantages?
What is difference between procedure and trigger?
Is primary key an index?
What is pivot table in sql?
Explain unique key in sql.
What are variables in pl sql?
How to return an array from java to pl/sql?
How many rows can sqlite handle?
How does sql store data?
What is the purpose of cursors in pl/sql?
What is denormalization in a database?
How do you update a sql procedure?
how to delete an existing column in a table? : Sql dba
explain the advantages and disadvantages of stored procedure? : Sql dba