Subject | Re: [firebird-support] Bug with character sets |
---|---|
Author | Martijn Tonies |
Post date | 2009-05-19T14:04:29Z |
>> I wonder why I don't see this problem at all with varchar columnsThat's strange, why shouldn't it do this with the CHAR datatype? Apparently,
>> though. If I change the char(1) to varchar(1), everything works
>> properly and I don't seem to have to do any of this. Is this expected?
>
> I assume with varchar, FB trims the buffer to the data size actually used?
it "knows" how many characters equals a certain number of bytes.
With regards,
Martijn Tonies
Upscene Productions
http://www.upscene.com
Download Database Workbench for Oracle, MS SQL Server, Sybase SQL
Anywhere, MySQL, InterBase, NexusDB and Firebird!
Database questions? Check the forum:
http://www.databasedevelopmentforum.com