Hi,
I am using :
to copy all data to the new T_update table. But I noticed that
my the indexes were not copied.
Apparently I can add them into the above code, but I am
not sure about the syntax
Is it like this ?
Also what about the AUTO_INCREMENT column - cb_id ?
If it is auto_increment in the "temp" table will it be created that way in the
"T_update " table - and filled up with incrementing numbers ?
Thanks for any help on this one :)
.
I am using :
Code:
CREATE TABLE T_update SELECT * FROM temp
my the indexes were not copied.
Apparently I can add them into the above code, but I am
not sure about the syntax
Is it like this ?
Code:
CREATE TABLE T_update KEY `id` (`id`), KEY `start_date` (`start_date`), PRIMARY KEY (cb_id) SELECT * FROM temp
If it is auto_increment in the "temp" table will it be created that way in the
"T_update " table - and filled up with incrementing numbers ?
Thanks for any help on this one :)
.
Comment