What is the optimal way to store an image dimension in a database? Should I just use two SMALLINTs? Or should I use a POINT or a VARCHAR?
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.
Speaking optimally, clearly the least amount of storage required to hold any values you want stored would be best. I don’t have a lot to add to what you already know: I think two
SMALLINTs would be the best route to go.