Server Oriented/DB-Oracle
truncate table TableA 와 insert into TableA(...) select ... 보다는 drop table TableA 와 create table TableA as select ... 가 훨씬 빠라다는..
래빗 크리스
2012. 3. 20. 13:59
truncate table TableA
;
insert into TableA (col1, col2, ...)
select col1, col2, ...
;
상기 조합 보다는 아래 조합이 더 빠르다고 하네요..
drop table TableA
;
create table TableA
as
select col1, col2, ...
;