[Haskell-cafe] hdbc-odbc adds a space to the value

vagif.verdi at gmail.com vagif.verdi at gmail.com
Wed Mar 23 09:01:03 CET 2011

I have a weird problem ?
When preparing sql statements with ? placeholders, hdbc-odbc adds a space to a 
string value at the end.

run conn "update sometable set somefield = ? where id = ?" [SqlString "bla", 
toSql 10]

Database: Ms Sql Server 2005.
Driver: FreeTds on linux

Please help!

Vagif Verdi

More information about the Haskell-Cafe mailing list