Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Call Level Interface
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Infobox technology standard | title = Call Level Interface | status = Published | year_started = {{Start date and age|1992}} | version = | version_date = | organization = [[The Open Group]] | authors = [[SQL Access Group]], [[X/Open]], [[The Open Group]] | related_standards = [[International Organization for Standardization|ISO]]/[[International Electrotechnical Commission|IEC]] 9075-3:2003 | abbreviation = CLI | domain = [[Application programming interface]]s | website = {{URL|https://publications.opengroup.org/c451}} }} The '''Call Level Interface''' ('''CLI''' or '''SQL/CLI''') is an [[application programming interface]] (API)<ref>{{cite book|title=Technical Standard - Data Management: SQL Call Level Interface (CLI)|date=1995|publisher=X/Open Company Ltd., U.K.|isbn=1-85912-081-4|page=1|chapter=Chapter 1}}</ref> and software standard to embed Structured Query Language ([[SQL]]) code in a host program<ref>{{cite book|last1=Stephens|first1=Ryan|last2=Plew|first2=Ron|last3=Jones|first3=Arie|title=Sams Teach Yourself SQL|year=2011|publisher=Pearson Education|isbn=978-0672335419|page=349|edition=5th}}</ref> as defined in a joint standard by the [[International Organization for Standardization]] (ISO) and [[International Electrotechnical Commission]] (IEC).<ref>{{cite web|title=ISO/IEC 9075-3:2003|url=http://www.iso.org/iso/iso_catalogue/catalogue_ics/catalogue_detail_ics.htm?csnumber=34134|publisher=ISO|accessdate=13 December 2014}}</ref> The Call Level Interface defines how a program should send [[SQL queries]] to the [[database management system]] (DBMS) and how the returned [[recordset]]s 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 (programming language)|C]] and [[COBOL]]. The interface is part of what [[The Open Group]], publishes in a part of the [[X/Open#Output|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 model|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. ODBC incorporates features from both the ISO and X/Open standards. Examples of languages that support Call Level Interface are ANSI C, [[C Sharp (programming language)|C#]], [[Visual Basic .NET]] (VB.NET), [[Java (programming language)|Java]], [[Pascal (programming language)|Pascal]], and [[Fortran]].<ref>{{cite book|last1=Stephens|first1=Ryan|last2=Plew|first2=Ron|last3=Jones|first3=Arie|title=Sams Teach Yourself SQL|year=2011|publisher=Pearson Education|isbn=978-0672335419|page=351|edition=5th}}</ref> ==History== The work with the Call Level Interface began in a subcommittee of the US-based [[SQL Access Group]] (SAG)<ref>{{cite web|title=Call-Level Interface|url=http://foldoc.org/Call-Level+Interface|website=FOLDOC: Free On-Line Dictionary of Computing|publisher=FOLDOC|accessdate=13 December 2014}}</ref><ref>{{cite web |url=http://dictionary.reference.com/browse/call-level+interface |title=Call-level interface {{!}} Define Call-level interface at Dictionary.com |website=dictionary.reference.com |url-status=dead |archive-url=https://web.archive.org/web/20130101113639/http://dictionary.reference.com/browse/call-level+interface |archive-date=2013-01-01}} </ref><ref>{{cite web|title=CLI Definition from PC Magazine Encyclopedia|url=https://www.pcmag.com/encyclopedia/term/39768/cli|publisher=PC Mag|accessdate=13 December 2014|quote=A database programming interface from the SQL Access Group (SAG), an SQL membership organization.}}</ref> 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 {{ISBN|1-85912-081-4}} 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). 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. SQL/CLI remains available in later editions such as ISO/IEC 9075-3:2003. ==See also== *[[SQL]] *[[SQL:2003]] *[[Open Database Connectivity]] ==References== {{Reflist}} ==External links== *[https://publications.opengroup.org/c451 Online definition of CLI] at [[The Open Group]] webpage {{SQL}} {{Open Group standards}} [[Category:SQL]] [[Category:Open Group standards]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:Cite book
(
edit
)
Template:Cite web
(
edit
)
Template:ISBN
(
edit
)
Template:Infobox technology standard
(
edit
)
Template:Open Group standards
(
edit
)
Template:Reflist
(
edit
)
Template:SQL
(
edit
)