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

Collect Stats with insert statement - forum topic by Aganediwal

$
0
0

Hi all,
I am using below two statements to create table and insert some data from an existing table.
Is there a way in which stats will be automatically collected after insert statement completes or a third statement of manually collecting stats is the only way ?
Can something be included with Insert statement to collect the stats ?
 
1)  CT Database2.Table_name as Database1.Table_name with no data and stats;
2)  Insert into Database2.Table_name sel * from Database1.Table_name where condition;
 
 

Forums: 

Viewing all articles
Browse latest Browse all 100

Trending Articles



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