Subject Re: [firebird-support] Bug with character sets
Author Martijn Tonies
>> Is N stored in the client side struct (SQLDA, or what's it called?) If
>> so,
>> why does Milan require the "bytes_per_character", if he decodes the
>> string, he can trim to the number of N characters, right?
>
> No, N is not stored in SQLVAR. Buffer length in bytes is stored there.
>
> SY, SD.

Which is exactly the 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