[python-sybase] space symbol at the end of string and binary params
Andrey Plotnikov
aplot at sbit.krasnoyarsk.su
Thu Jun 30 13:32:52 EST 2005
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...
--
Andrey Plotnikov
More information about the Python-sybase
mailing list