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: