[freetds] MS Sql 2005 and prepared queries
ZIGLIO, Frediano, VF-IT
Frediano.Ziglio at vodafone.com
Thu Jul 17 10:37:30 EDT 2008
> I am new to the list. I have been meaning to try out this
> project for
> a while and have finally made the time.
> I have managed to connect to our SQL 2005 server using unixODBC and
> the latest stable version of FreeTDS. I have been writing a program
> using Qt4 in windows and am porting across to Linux, it makes
> extensive use of prepared queries.
> I can't seem to get these to execute under FreeTDS, is this
> I get am getting the following errors in my odbc log:
> [[FreeTDS][SQL Server]Invalid data type]
> Any guidance would be greatly appreciated.
You could enable ODBC trace and post last lines.
Prepared query should work. Are you sure you are using proper protocol version??
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3129 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/freetds/attachments/20080717/dbcd698c/attachment.bin
More information about the FreeTDS