[python-sybase] space symbol at the end of string and binary
params
Dave Cole
djc at object-craft.com.au
Fri Jul 1 09:38:04 EST 2005
Andrey Plotnikov wrote:
> Hi All!
>
> I use sybase-python and freetds with MSSQL.
> And I have the following problem: the space symbol is added to the
> string and binary parameters.
> For example:
> c.execute("insert into Tmp (f1) values (@s)",{"@s":"test"})
> As a result, field f1 value is "test "
> For string params its not vastly actual, but binary data can be passed
> only through params and space symbol at the end is serious problem.
>
> FreeDTS version is 0.62.3
> I tried sybase-python 0.36 and 0.37.
>
> P.S. Sorry for my english...
It is probably worth raising this on one of the FreeTDS mailing lists.
- Dave
--
http://www.object-craft.com.au
More information about the Python-sybase
mailing list