Skip to Content.
Sympa Menu

freetds - Re: [freetds] MS Sql 2005 and prepared queries

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] MS Sql 2005 and prepared queries
  • Date: Thu, 17 Jul 2008 16:37:30 +0200

>
> Hi,
>
> 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
> supported
> yet?
>
> I get am getting the following errors in my odbc log:
>
> [[FreeTDS][SQL Server]Invalid data type]
>
> Any guidance would be greatly appreciated.
>
> Royce
>

You could enable ODBC trace and post last lines.
Prepared query should work. Are you sure you are using proper protocol
version??

freddy77

Attachment: smime.p7s
Description: S/MIME cryptographic signature




Archive powered by MHonArc 2.6.24.

Top of Page