views:

28

answers:

1

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

+3  A: 
create table newtable like oldtable; 
insert newtable select * from oldtable
Raveren
thanks , its work !!
Haim Evgi