kpetsche20 Posted June 30, 2008 Share Posted June 30, 2008 How do I make a MySQL column Auto_increment once I've already created the table Quote Link to comment Share on other sites More sharing options...
br0ken Posted June 30, 2008 Share Posted June 30, 2008 ALTER TABLE tblTable MODIFY id INT AUTO_INCREMENT PRIMARY KEY Quote Link to comment Share on other sites More sharing options...
fenway Posted July 2, 2008 Share Posted July 2, 2008 Assuming it's NOT NULL already..... and it should be UNSIGNED, too. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.