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
What is orm in sql?
How to place comments in pl/sql?
What is fmtonly in sql?
how can we transpose a table using sql (changing rows to column or vice-versa) ? : Sql dba
What found sql?
What is the purpose of using pl/sql?
what are the advantages a stored procedure? : Sql dba
Can triggers stop a dml statement from executing on a table?
how many sql ddl commands are supported by 'mysql'? : Sql dba
What are some predefined exceptions in pl/sql?
What is the use of function "module procedure" in pl/sql?
what is the maximum length of a table name, database name, and fieldname in mysql? : Sql dba
How do you declare a variable in pl sql?
How to rename a column in the output of sql query?
what is the use of double ampersand (&&) in sql queries?