What is difference between TRUNCATE & DELETE?
Answer Posted / rampratap singh
Truncate is DDL so it does not create rollback segments,
where as DELETE is DML and creates rollback segments.
Truncate removes/reset the high watermark.
Delete does not do that.
| Is This Answer Correct ? | 10 Yes | 4 No |
Post New Answer View All Answers
Mention what does plv msg allows you to do?
What are primary key and foreign key and how they work?
What is sql partition?
Can you select everything, but 1 or 2 fields, without writer's cramp?
Explain what is sql*plus?
What is materialized view in sql?
What is dba in sql? : SQL DBA
How can we optimize a sql query?
What is trigger with example?
What is set transaction?
Is sql a scripting language?
how can we know the count/number of elements of an array? : Sql dba
Which sql statement is used to return only different values?
Explain the types of joins in sql?
How do I trace sql profiler?