When saving data in different sql tables, is it best to use the GUID userID or simply use the username? is there a performance difference when using guid?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use the guid. It is the system internal identifier for your users. This then allows the ability to change usernames if people wish.
This then fits nicely with the concept of an internal ID that means something to your system, versus the external ID that means something to your users.