correct syntax for altering a column to be auto increment

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Locked
crimius
Forum Commoner
Posts: 28
Joined: Sun Oct 13, 2002 6:02 pm
Location: Austin, Texas
Contact:

correct syntax for altering a column to be auto increment

Post by crimius »

for MySQL

the column is an int, the primary key, and already has records in it.
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Please keep all queries relating to one question in the same thread, it stops things from getting confused.

If you would like to help, please go here:
viewtopic.php?t=6037

Mac
Locked