Subject | Re: [firebird-support] Bug with character sets |
---|---|
Author | Martijn Tonies |
Post date | 2009-05-19T09:14:32Z |
>> real length in characters = 4/4 = 1That's not really a solution, is it? It's a specific workaround
>> truncate the result to 1 character to get 'Y'
>
> Why not simply declare the column in database with CHARACTER SET NONE
> if you keep only 'Y' and 'N' there?.. In this case it will be one-byte
> on client.
if you only want to store 'Y' or 'N', in those cases you want
to store any single unicode character, your proposal doesn't
make sense, yet, the problem still is a problem.
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