Jonathan Leffler wrote:
> 
[...]
>
> Can anyone explain the bit in the type_info method description (cribbed
> from the ODBC documentation, I'm sure) about 'ordered by DATA_TYPE first
> and then by how closely each type maps to the corresponding ODBC SQL
> data type, closest first'.

SQL/CLI defines the result set as:

 SELECT *
 FROM TYPE_INFO
 ORDER BY DATA_TYPE

Thus, it is undefined how equal DATA_TYPEs are ordered.
The ODBC spec tries to be more precise - but remains vague.


Steffen

Reply via email to