[freetds] freebcp out from MS SQL Server drops spaces [NC]

Frediano Ziglio freddy77 at gmail.com
Fri Jul 10 10:39:38 EDT 2009


2009/7/10 Cedric ROUVRAIS <cedric.rouvrais at sgcib.com>:
> Hi Fred,
>
> I changed the code where James suggested I change the code.
>
> As it isn't my code, I followed his suggestion :o)
>
> The important part is the behaviour, the location of no importance to me.
>
> A++ Cedric
> --------------------------
> Sent with a mobile device.
>

I'm doing some test...
- NULLs become empty strings in both varchar and char.
- empty strings became a single NUL character for varchar and all
spaces for char
- varchar are not padded but keep spaces at the end
- char are padded with spaces

freddy77


More information about the FreeTDS mailing list