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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"Autonumber" in MySQL?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi, I used to use MS Access databases. And I know that you can have an "Autonumber" field with it. Now I'm trying to "port" my script to MySQL. I converted my Access database to MySQL with a program. But autonumber isn't working anymore. Is there any way to do autonumber with MySQL?
 
Yes, modify the column so that the property is AUTO_INCREMENT and it is a Primary key/unique index. Rob Marriott
rob@career-connections.net
 
but how do I do that? i'm sorry, I know next to nothing about MySQL commands
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top