ganjasensation0098
New Member
- Messages
- 36
- Reaction score
- 0
- Points
- 0
Which is the better data type in creating primary key of a table?
Last edited:
I certainly wouldn't, I would create a table like this instead:you can have EMAIL as Primary key also
USER_ID INT() - PRIMARY KEY
EMAIL VARCHAR() - UNIQUE KEY
etc for other user info