space symbol at the end of string and binary params
Andrey Plotnikov <[email protected]> Thu, 30 Jun 2005 11:32:52 +0800
| Newsgroups | gmane.comp.python.sybase |
|---|---|
| Message-ID | <[email protected]> |
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