I’ve decided to use uuid_short mysql function to generate ids for my primay key. My questions is what type of data type for the column I should use?
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.
The section you linked states that uuid_short returns a “a 64-bit unsigned integer”. That would suggest BIGINT UNSIGNED is the type to use for your keyed column.