If TINYINT can store three characters, for example, why can\'t it store up to t开发者_JAVA百科he number 999?Because it takes only 8 bit and hence can encode no more than 2^8 = 256 values.
Here\'s the problem. In MySQL\'s Connector/NET a TINYINT(1) field properly translates back and forth into a .NET bool value. If I select from a table with a TINYINT(1) column, everything is golden. Ho