Guys,
I would like to know one thing.
Generally, in other DB - DDL statement is faster than any other DML statment due to it's logging mechanism. So, if op's table can be dropped & recreate as any intermediate staging tables then we can use the following statment.
create table scott.tt_emp
as
(
select *
from scott.emp_child
) with data;
Won't this be faster than the given one?
INSERT INTO scott.tt_emp
Select *
FROM scott.emp_child;If there is no reference constraint imposed with the given table, in that case we can use this.
Kindly share your opinion.
↧