Interface Conformance Levels
To simplify specification of interface conformance, ODBC defines three
conformance levels. To meet a particular conformance level, a driver must satisfy all
of the requirements of that conformance level. Conformance with a given level
implies complete conformance with all lower levels.
Conformance levels do not always divide neatly into support for a specific
list of ODBC functions, but specify supported features as listed in the following
sections. To provide support for a feature, a driver must support some or all
forms of calls to certain ODBC functions (for more information, see Function Conformance), setting certain attributes (for more information, see Attribute Conformance), and certain descriptor fields (for more information, see Descriptor Field Conformance).
The application discovers a drivers interface conformance level by connecting
to a data source, and calling SQLGetInfo with the SQL_ODBC_INTERFACE_CONFORMANCE option.
Drivers are free to implement features beyond the level to which they claim
complete conformance. Applications discover any such additional capabilities by
calling SQLGetFunctions (to determine which ODBC functions are present) and SQLGetInfo (to query various other ODBC capabilities).
There are three ODBC interface conformance levels: Core, Level 1, and Level 2.
Note These conformance levels have different requirements than the ODBC API
conformance levels of the same name in ODBC 2.x. In particular, all the features implied by ODBC 2.x API conformance Level 1 are now part of the Core interface conformance level.
As a result, many ODBC drivers may report Core-level interface conformance.