Is there any danger in making a column say, an INT with length of 3 digits and some of the columns only containing one or two?
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.
An INT in Sql Server is 4 bytes so you won’t be able to do what you describe. The values can range from
-2,147,483,648to2,147,483,647If you only want to store numbers uf up to 3 digits, a
smallintwill suffice (2 bytes).