i have employee table and its empid length is INT 3 ,
But it accepting more then 3 character ….
How it is possible
(THIS IS TESTED IN PHPMYADMIN)
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.
To cite the documentation: 10.2. Numeric Types
and
So you see, it is not a restriction that influences the data stored in MySQL but an additional information for applications that retrieve the data.