[freetds] Using sp_executesql with Microsoft SQL Server 2000

Lowden, James K LowdenJK at bernstein.com
Wed Jul 2 15:17:47 EDT 2003


> From: Rogers, Tom [mailto:tom.rogers at ccur.com]
> Sent: July 2, 2003 9:55 AM
> 
> So, then will this or won't this work with UnixODBC and the 
> escape query format?  

I don't know, Tom.  I doubt it.  I hope the ODBC folks will answer you
definitively, and that someone will contribute a unit test.  

> I am not sure of the interaction with UnixODBC, and
> FreeTDS, other than that when we built FreeTDS we instructed 
> it that we were using UnixODBC.  

AIUI, the driver manager is a thin layer over the ODBC driver, whose main
purpose is to isolate the various driver configuration idiosyncrasies from
the application.  

> I guess if the new RPC stuff is used transparently and
> automatically at a low enough level, it would just "start to 
> work" under UnixODBC, but I don't know if that is the case.

That's our goal.  
 
> I think you are saying it won't work????

If "it" is output parameters in prepared ODBC statements, then, I'm afraid
it only almost works.  I'm happy to be corrected.  

Is it worth your while to put together a unit test?  That would answer the
question, and if the answer is "no, still broken", we'd at least have a
baseline measure.  

--jkl

-----------------------------------------
The information contained in this transmission may contain privileged and confidential information and is intended only for the use of the person(s) named above. If you are not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender immediately by reply e-mail and destroy all copies of the original message. Please note that we do not accept account orders and/or instructions by e-mail, and therefore will not be responsible for carrying out such orders and/or instructions.




More information about the FreeTDS mailing list