i want to run a query like this :
CREATE TABLE newtable SELECT * FROM oldtable
its work fine
but the indexes not copied to the new table ,
how can i run the query and prevent the indexes ?
thanks
i want to run a query like this :
CREATE TABLE newtable SELECT * FROM oldtable
its work fine
but the indexes not copied to the new table ,
how can i run the query and prevent the indexes ?
thanks
create table newtable like oldtable;
insert newtable select * from oldtable