id other_column --------------------- 1 text 2 text 3 text
If I delete the third row, is there any way I can tell MySQL to use an ID of "3" when a new row is inserted, rather than "4"?
Posted 02 August 2009 - 08:05 AM
id other_column --------------------- 1 text 2 text 3 text
Posted 02 August 2009 - 10:47 AM
Sam G, on 02 August 2009 - 08:05 AM, said:
id other_column --------------------- 1 text 2 text 3 text
Posted 02 August 2009 - 12:10 PM
ALTER TABLE tablename DROP id, ADD id INT UNSIGNED NOT NULL AUTO_INCREMENT FIRST;
Posted 02 August 2009 - 12:13 PM
Posted 02 August 2009 - 12:19 PM
Quote
Posted 02 August 2009 - 07:13 PM