Function for determining ODBC vendor escape clause support
Data sources do not necessarily support the same SQL extensions. The ODBC drivers for these data sources therefore might not support all ODBC vendor escape clauses.
To determine if a data source supports vendor escape clauses, call SQLGetInfo()
with
the InfoType argument set to SQL_ODBC_SQL_CONFORMANCE.
If SQLGetInfo()
returns a value of SQL_OSC_EXTENDED,
that data source supports all ODBC vendor escape clauses.
For SQL extensions that ODBC does not define, you must use the SQL syntax that is specific to each particular data source. This SQL syntax might not be consistent among the data sources that your application uses.