Rajeev J Sebastian wrote:
> Hi,
> 
> I am attempting to build a Virtuoso backend for Soprano
> (http://soprano.sourceforge.net/) essentially, to make it available to
> KDE desktop applications.
> 
> I am doing this via Qt's ODBC driver.
> 
> How can I determine the data type of the object part of the query when
> using ODBC ?
> 
> Could the developers give some suggestions on the best way to implement this ?
> 

Hi,

If I understand you right, are you looking for SQLDescribeCol() ? That is
the underlying ODBC API call for retrieving the datatype of a column in a
resultset, whatever wrappers QT have implemented around it.

http://msdn2.microsoft.com/en-us/library//ms716289.aspx looks relevant.

HTH,

~Tim
-- 
Tim Haynes
Product Development Consultant
OpenLink Software
<http://www.openlinksw.com/>

Reply via email to