ID in mysql?
#1

Removed
Reply
#2

Are you referring to an auto incrementing primary key?
Reply
#3

Removed
Reply
#4

He means something like the AUTO_INCREMENT primary key which is a unique number assigned to every NEW entry of a row in the table.
Reply
#5

Removed
Reply
#6

1. Ids are used because numerical searches are faster than string searches, and because they are always unique. They also provide a good reference to and from the table when working with relations.
2. Yes. auto_increment fields are a MySQL server feature, not a client feature.
3. No. See above.
Reply
#7

Removed
Reply
#8

What?
Reply
#9

If you want ID's for each players thats registers on your server just add ID with AI on it, I don't see the point in havings ID's you're better off with registration dates
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)