Subject | Re: [firebird-support] 1 Byte Field |
---|---|
Author | Paul Vinkenoog |
Post date | 2004-01-17T11:51:07Z |
Hello Uwe (again),
extra bytes to store the length. I totally forgot to mention that!
Grtz,
Paul
>> I need to store a flag value in a the smallest possible way. 1 Byte...and as Theo just wrote: use CHAR, not VARCHAR. VARCHAR needs 2
>> 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.
extra bytes to store the length. I totally forgot to mention that!
Grtz,
Paul