| Subject | Re: [firebird-support] UNIQUE INDEX and trailing blanks | 
|---|---|
| Author | David Garamond | 
| Post date | 2003-11-23T20:14:48Z | 
Klement Guenther - Munich-MR - external wrote:
(including MySQL).
But yes, sometimes I need CHAR/VARCHAR to store exactly all the bytes
that I give it (including nulls, trailing blanks, etc). In that case you
need to do some encoding/escaping.
--
dave
            > Why are trailing blanks ignored within varchars?No, this is a standard behaviour in Firebird and many other databases
> I think this should only apply to data types with fixed length eg. CHAR.
> Is this a bug?
(including MySQL).
But yes, sometimes I need CHAR/VARCHAR to store exactly all the bytes
that I give it (including nulls, trailing blanks, etc). In that case you
need to do some encoding/escaping.
--
dave