Author Topic: Signed / unsigned int  (Read 259 times)

0 Members and 1 Guest are viewing this topic.

Offline otuatailTopic starter

  • Devotee
  • Posts: 875
    • View Profile
Signed / unsigned int
« on: March 23, 2010, 02:18:07 PM »
Hi I have looked at the mysql website
Tinyint can be -128 to 127 OR 0 - 255
How do I declaire signed or unsigned?

Desmond.

Offline fenway

  • MySQL Si-Fu / PHP Resident Alien
  • Global Moderator
  • 'Mind Boggling!'
  • *
  • Posts: 15,444
  • Gender: Male
    • View Profile
Re: Signed / unsigned int
« Reply #1 on: March 23, 2010, 03:55:45 PM »
Add "UNSIGNED" to your column definition.
:anim_rules: Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.