Can anyone help me figure out how to alter a table where I would drop primarykey and add a new primarykey
The new Primarykey would also be a new colum that is auto_increment..
But also add the auto_increment #'s to all rows in that table ?
Now I got this far, but not sure how to add auto_increment #'s to all rows in table...
When I did just the below, all it did was leave the id colum empty for all rows.
ALTER TABLE `members` ADD `id` varchar(40) NOT NULL auto_increment BEFORE email;