What is the diff between Truncate table / delete <table
name> purge
Answer Posted / papia
Truncate table removes all rows from the table and alos
releases the storage space and as it is a DDL statement so
no Rollback information is available
Delete statement also removes the row but does not release
the storage space
Truncate is faster than delete.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the use of partition by in sql?
What is the usage of distinct keyword?
What is a null value?
What is sqlcommand?
Does oracle roll back the transaction on an error?
what are the features and advantages of object-oriented programming? : Sql dba
What is cursor and its types?
How do I audit the sql sent to the server?
does sql support programming? : Sql dba
What is the difference between view and stored procedure?
Why plvtab is considered as the easiest way to access the pl/sql table?
Explain normalization and what are the advantages of it?
What is a temp table?
how to delete duplicate rows from a join tables(I have three tables on that join) how do you know which join is need to be used? The select statement I have is: SELECT gc_skill_type.skill_type, gc_area_tec.area, gc_technology.technology, gc_technology.id_technology, gc_area_tec.id_area_tec FROM gc_skill_type, gc_area_tec, gc_technology WHERE gc_area_tec.id_skill_type (+) = gc_skill_type.id_skill_type AND gc_technology.id_area_tec (+) = gc_area_tec.id_area_tec order by gc_skill_type.skill_type asc, gc_area_tec.area asc, gc_technology.technology asc
What are properties of the transaction?