Subject Re: [firebird-support] 1 Byte Field
Author Paul Vinkenoog
Hello Uwe (again),

>> I need to store a flag value in a the smallest possible way. 1 Byte
>> is sufficient. If I declare a fiield as VARCHAR(1) would that field
>> be only 1 Byte is size ?

> That depends on the character set. To be certain, use character set
> OCTETS (or another 1-byte set) for the field.

...and as Theo just wrote: use CHAR, not VARCHAR. VARCHAR needs 2
extra bytes to store the length. I totally forgot to mention that!