Hello All,Is it possible to use CTAS then add a column that doesnt exist from the table that I select?I have use this syntax to Run Create Table As in which the table that I select is from a MYSQL Database.use adventureworks2008r2;goselect * into inv_mlb_001 from openquery(LMYSQL, 'SELECT`inv_mlb_001`.`mlb_Dte`,`inv_mlb_001`.`mlb_Shf`,`inv_mlb_001`.`MlB_ODR`,`inv_mlb_001`.`MlB_Rte_ID`,`inv_mlb_001`.`mlb_Ppr_ID`,`inv_mlb_001`.`mlb_Ppr_Nme`,`inv_mlb_001`.`mlb_Job`,`inv_mlb_001`.`mlb_Mdl_nme`,`inv_mlb_001`.`mlb_Sts`,`inv_mlb_001`.`mlb_cur_Qty`,`inv_mlb_001`.`mlb_Cnt`FROM `mcgis_copr`.`inv_mlb_001`;')go
Now my problem is I want to add this column (MLB_OID) that is auto_increment and will serve as Primary key.How will I going to achieve this?Thank you..