Jump to content

[SOLVED] Best data type to store a 1 or a 0 in a field?


lordvader

Recommended Posts

In my rows there's an on/off field. If data for that row is to be considered "On" or enabled, then it's cell in the 'On' column gets a value of 1. If it's "off" then it gets a value of 0.

 

Whats the best data type to store these 1's and 0's? I have it on tinyint, but even that is still too big.

thanks

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.