Call Level Interface Explained

See also: SQL/CLI.

Call Level Interface
Status:Published
Organization:The Open Group
Authors:SQL Access Group, X/Open, The Open Group
Related Standards:ISO/IEC 9075-3:2003
Abbreviation:CLI
Domain:Application programming interfaces

The Call Level Interface (CLI) is an application programming interface (API)[1] and software standard to embed Structured Query Language (SQL) code in a host program[2] as defined in a joint standard by the International Organization for Standardization (ISO) and International Electrotechnical Commission (IEC): ISO/IEC 9075-3:2003.[3] The Call Level Interface defines how a program should send SQL queries to the database management system (DBMS) and how the returned recordsets should be handled by the application in a consistent way. Developed in the early 1990s, the API was defined only for the programming languages C and COBOL.

The interface is part of what The Open Group, publishes in a part of the X/Open Portability Guide, termed the Common Application Environment, which is intended to be a wide standard for programming open applications, i.e., applications from different programming teams and different vendors that can interoperate efficiently. SQL/CLI provides an international standard implementation-independent CLI to access SQL databases. Client–server tools can easily access databases through dynamic-link libraries (DLL). It supports and encourages a rich set of client–server tools.

The most widespread use of the CLI standard is the basis of the Open Database Connectivity (ODBC) specification, which is widely used to allow applications to transparently access database systems from different vendors. The current version of the API, ODBC 3.52, incorporates features from both the ISO and X/Open standards. Examples of languages that support Call Level Interface are ANSI C, C#, Visual Basic .NET (VB.NET), Java, Pascal, and Fortran.[4]

History

The work with the Call Level Interface began in a subcommittee of the US-based SQL Access Group (SAG)[5] [6] [7] In 1992, it was initially published and marketed as Microsoft's ODBC API. The CLI specification was submitted as to the ISO and American National Standards Institute (ANSI) standards committees in 1993. The standard has the book number and the internal document number is C451.

ISO SQL/CLI is an addendum to 1992 SQL standard (SQL-92). It was completed as ISO standard ISO/IEC 9075-3:1995 Information technology—Database languages—SQL—Part 3: Call-Level Interface (SQL/CLI). The current SQL/CLI effort is adding support for SQL3.

In the fourth quarter of 1994, control over the standard was transferred to the X/Open Company, which significantly expanded and updated it. The X/Open CLI interface is a superset of the ISO SQL CLI.

External links

Notes and References

  1. Book: Technical Standard - Data Management: SQL Call Level Interface (CLI). 1995. X/Open Company Ltd., U.K.. 1-85912-081-4. 1. Chapter 1.
  2. Book: Stephens. Ryan. Plew. Ron. Jones. Arie. Sams Teach Yourself SQL. 2011. Pearson Education. 978-0672335419. 349. 5th.
  3. Web site: ISO/IEC 9075-3:2003. ISO. 13 December 2014.
  4. Book: Stephens. Ryan. Plew. Ron. Jones. Arie. Sams Teach Yourself SQL. 2011. Pearson Education. 978-0672335419. 351. 5th.
  5. Web site: Call-Level Interface. FOLDOC: Free On-Line Dictionary of Computing. FOLDOC. 13 December 2014.
  6. Web site: Call-level interface Define Call-level interface at Dictionary.com . dictionary.reference.com . dead . https://web.archive.org/web/20130101113639/http://dictionary.reference.com/browse/call-level+interface . 2013-01-01.
  7. Web site: CLI Definition from PC Magazine Encyclopedia. PC Mag. 13 December 2014. A database programming interface from the SQL Access Group (SAG), an SQL membership organization..