Re: SQLDescribeParam not supported by freeTDS Driver? Any work-around.

"James K. Lowden" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
nitin sayare wrote:
> I am trying to retrieve the meta-data of the
> parameters of the Prepared statement, using SQLDescribeParam(), but when
> I call SQLDescribeParam() it gives me error saying "This function is not
> supported by the driver". 

SQLDescribeParam() is not and will not be supported until:

1.  We have an SQL parsing implementation, or
2.  Microsoft provides support for it on the server.  

Don't hold your breath for either one.  :-(  

To the ODBC library, your prepared statement looks like:

	blah blah blah %1 blah blah

To know anything about that %1 it's necessary to know about most of those
blahs.  

HTH.  

--jkl
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.