tags:

views:

668

answers:

2

Hi guys,

What is the difference between int and integer datatype in MySQL 5.0. Can anyone help. I don't understand what is the exact difference. Kind help needed. Thanks in advance.

Sivakumar.P

+6  A: 

Taken from MYSQL 5.0 online reference

The keyword INT is a synonym for INTEGER.

StartClass0830
+2  A: 

I guess the only difference is the spelling.

So by using INT, you'd end up using less bytes on your SQL script (not that it matters).

ksuralta
LOL...that is funny!
Darryl Hein