shadowcaster Posted July 22, 2007 Share Posted July 22, 2007 Hi. I have a table with the structure: CREATE TABLE otherpayments ( `advert_id` INT(11) NOT NULL AUTO_INCREMENT, `cheque` INT(1) NOT NULL, `postalorder` INT(1) NOT NULL, `paypal` INT(1) NOT NULL, `other` INT(1) NOT NULL, PRIMARY KEY(`advertentie_id`) ); Is it possible to remove the AUTO_INCREMENT from the advert_id field and how would I go about doing that? Thanks in advance. Quote Link to comment Share on other sites More sharing options...
GingerRobot Posted July 22, 2007 Share Posted July 22, 2007 You can do it easily enough in phpMyAdmin. However, the query is: ALTER TABLE `otherpayments` CHANGE `advert_id` `advert_id` INT( 11 ) NOT NULL Quote Link to comment Share on other sites More sharing options...
shadowcaster Posted July 24, 2007 Author Share Posted July 24, 2007 Thanks mate. 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.