[TYPO3-dev] Default definitions of database fields
Martin Kutschker
masi-no at spam-typo3.org
Fri Feb 12 08:51:49 CET 2010
Jochen Rau schrieb:
> Why do we use (11) after int, tinyint? As this makes perfect sense for
> char and varchar, it is IMO useless for int and tinyint because it does
> NOT indicate how many numbers or bytes the field can hold. It just fills
> the integer up with zeroes on the left.
AFAIK the number denotes the column width in the output when you use the SQL shell. It has nothing
to do with the storage format which is for integer fields a "real" byte value. One byte is used for
tinyint.
Masi
More information about the TYPO3-dev
mailing list