Contents|Index|Previous|Next

ODBC and the Standard CLI

ODBC aligns with the following specifications and standards that deal with the Call-Level Interface (CLI). (ODBC’s features are a superset of each of these standards.)

odbc00090000.gif The X/Open CAE Specification “Data Management: SQL Call-Level Interface (CLI)”

odbc00090000.gif ISO/IEC 9075-3:1995 (E) Call-Level Interface (SQL/CLI)

As a result of this alignment, the following are true:

odbc00090000.gif An application written to the X/Open and ISO CLI specifications will work with an ODBC 3.0 driver or a standards-compliant driver when it is compiled with the ODBC 3.0 header files and linked with ODBC 3.0 libraries, and when it gains access to the driver through the ODBC 3.0 Driver Manager.

odbc00090000.gif A driver written to the X/Open and ISO CLI specifications will work with an ODBC 3.0 application or a standards-compliant application when it is compiled with the ODBC 3.0 header files and linked with ODBC 3.0 libraries, and when the application gains access to the driver through the ODBC 3.0 Driver Manager. (For more information, see “Standards-Compliant Applications and Drivers” in Chapter 17, “Programming Considerations.”)

The Core interface conformance level encompasses all the features in the ISO CLI and all the non-optional features in the X/Open CLI. Optional features of the X/Open CLI appear in higher interface conformance levels. Because all ODBC 3.0 drivers are required to support the features in the Core interface conformance level, the following are true:

odbc00090000.gif An ODBC 3.0 driver will support all the features used by a standards-compliant application.

odbc00090000.gif An ODBC 3.0 application using only the features in ISO CLI and the non-optional features of the X/Open CLI will work with any standards-compliant driver.

In addition to the call-level interface specifications contained in the ISO/IEC and X/Open CLI standards, ODBC implements the following features. Note that some of these features existed in versions of ODBC prior to ODBC 3.0:

odbc00090000.gif Multirow fetches by a single function call

odbc00090000.gif Binding to an array of parameters

odbc00090000.gif Bookmark support including fetching by bookmark, variable-length bookmarks, and bulk update and delete by bookmark operations on discontiguous rows

odbc00090000.gif Row-wise binding

odbc00090000.gif Binding offsets

odbc00090000.gif Support for batches of SQL statements, either in a stored procedure or as a sequence of SQL statements executed through SQLExecute or SQLExecDirect

odbc00090000.gif Exact or approximate cursor row counts

odbc00090000.gif Positioned update and delete operations and batched updates and deletes by function call (SQLSetPos)

odbc00090000.gif Catalog functions that extract information from the information schema without the need for supporting information schema views

odbc00090000.gif Escape sequences for outer joins, scalar functions, datetime literals, interval literals, and stored procedures

odbc00090000.gif Code-page translation libraries

odbc00090000.gif Reporting of a driver’s ANSI-conformance level and SQL support

odbc00090000.gif On-demand automatic population of implementation parameter descriptor

odbc00090000.gif Enhanced diagnostics and row and parameter status arrays

odbc00090000.gif Datetime, interval, numeric/decimal, and 64-bit integer application buffer types

odbc00090000.gif Asynchronous execution

odbc00090000.gif Stored procedure support, including escape sequences, output parameter binding mechanisms, and catalog functions

odbc00090000.gif Connection enhancements including support for connection attributes and attribute browsing