Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Insert select in Mload - response (13) by Satyaki.De

$
0
0
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.  

Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>