Hello There,
I guess this is a silly question, but I ask it anyway: A tutorial told me to set the field for the ID to auto-increment. I know how to do it, but I could not find any clues what auto-increment means and what it does with the data in the table. I've checked the mysql-manual and even searched the web with Google to find an answer. Maybe I'm the only one who doesn't know. So please help me.
Thanks, Axel
auto-increment???
Moderator: General Moderators
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
In an auto-incrementing column the value is automatically incremented by one each time a new insert is done.
Mac
Source: http://www.mysql.com/doc/e/x/example-AU ... EMENT.htmlmysql documentation wrote:The AUTO_INCREMENT attribute can be used to generate an unique identity for new rows
Mac