Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Issues with adding a primary key

Status
Not open for further replies.

Hozzer

Technical User
Jul 30, 2009
20
CA
Hi I have an existing registration form that won't submit after simply adding a primary key to the table. Shouldn't the column just auto_increment as new registrations come in?
 
That would completely depend on how the table as defined.

If the field that is defined as the primary key is set t autoincrement, than it should. But if its not set to autoincrement then it won't.



If you get an error, it be nice if you posted it so we may take a look.





----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top