Re: space symbol at the end of string and binary params
Dave Cole <[email protected]> Fri, 01 Jul 2005 09:38:04 +1000
| Newsgroups | gmane.comp.python.sybase |
|---|---|
| Organization | Object Craft P/L |
| Message-ID | <[email protected]> |
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