What is difference between TRUNCATE & DELETE?
Answer Posted / ram kumar
1.Both are same but a little bit difference between them
2.Truncate removes all the rows in the table and it cannot
be rolledback bcoz its a DDL
3.Delete removes the particular record u want in the table
and it can be rolledback bcoz its a DML
4.Truncate is Unconditional and Delete is Conditional
Regards,
Ram Kumar...
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Write a unique difference between a function and a stored procedure.
Who developed sql?
what are the system privileges that are required by a schema owner (user) to create a trigger on a table?
What is oracle sql developer?
write an sql query to get third maximum salary of an employee from a table named employee_table. : Sql dba
How run sql*plus commands that are stored in a local file?
What is difference between sql and excel?
What are the various restrictions imposed on view in terms of dml?
Can we want to pass a parameter payroll_id to this external pl/sql function, how do we do it?
how to dump a table to a file with 'mysqldump'? : Sql dba
What are types of joins?
What is out parameter used for eventhough return statement can also be used in pl/sql?
What does data normalization mean?
What is tuple in sql?
What are the various levels of constraints?