title: Difference between "int" and "int(2)" data types in my sql
body: <p>Just I wonder why the range is given with the my sql data types. I define a table with a field name "id" and the data type is "int(2)". I inserted the value to the field "id" as "123456".This is accepted and stored. So what is the use of giving the range.</p>
  
  <p>Thanks in advance.</p>