SQL was adopted as a standard by ANSI (American National Standards Institute) in 1986 and ISO (International Organization for Standardization) in 1987. However, since the dissolution of the NIST data management standards program in 1996 there has been no certification for compliance with the SQL standard so vendors must be relied on to self-certify.
The SQL standard has gone through a number of revisions:
Year | Name | Alias | Comments |
1986 | SQL-86 | SQL-87 | First published by ANSI. Ratified by ISO in 1987. |
1989 | SQL-89 | | Minor revision. |
1992 | SQL-92 | SQL2 | Major revision (ISO 9075). |
1999 | SQL:1999 | SQL3 | Added regular expression matching, recursive queries, triggers, non-scalar types and some object-oriented features. (The last two are somewhat controversial and not yet widely supported.) |
2003 | SQL:2003 | | Introduced XML-related features, window functions, standardized sequences and columns with auto-generated values (including identity-columns). |
2006 | SQL:2006 | | ISO/IEC 9075-14:2006 defines ways in which SQL can be used in conjunction with XML. It defines ways of importing and storing XML data in an SQL database, manipulating it within the database and publishing both XML and conventional SQL-data in XML form. In addition, it provides facilities that permit applications to integrate into their SQL code the use of XQuery, the XML Query Language published by the World Wide Web Consortium (W3C), to concurrently access ordinary SQL-data and XML documents. |
The SQL standard is not freely available. SQL:2003 and SQL:2006 may be purchased from ISO or ANSI. A late draft of SQL:2003 is available as a zip archive from Whitemarsh Information Systems Corporation. The zip archive contains a number of PDF files that define the parts of the SQL:2003 specification.
No comments:
Post a Comment