Re: MS Sql 2005 and prepared queries

"ZIGLIO, Frediano, VF-IT" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
> 
> 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

_______________________________________________
FreeTDS mailing list
[email protected]
http://lists.ibiblio.org/mailman/listinfo/freetds
smime.p7s (application/x-pkcs7-signature, 3.1 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.