SQL-92
Appearance
![]() | This article needs attention from an expert in Computing. Please add a reason or a talk parameter to this template to explain the issue with the article.(November 2008) |
SQL-92 was the third revision of the SQL database query language. Unlike SQL-89, it was a major revision of the standard. For all but a few minor incompatibilities, the SQL-89 standard is forward compatible with SQL-92.
The standard specification itself grew about five times compared to SQL-89. Much of it was due more precise specifications of existing features; the increase due to new features was only by a factor of 1.5–2. Many of the new features had already been implemented by vendors before the new standard was adopted.[1]
Later revisions of the standard include SQL:1999 (SQL3), SQL:2003, SQL:2008, and SQL:2011.
New Features
Significant new features include:[2]
- New data types defined:
DATE
,TIME
,TIMESTAMP
,INTERVAL
,BIT
string,VARCHAR
strings, andNATIONAL CHARACTER
strings. - Support for additional character sets beyond the base requirement for representing SQL statements.
- New scalar operations such as string concatenation, date and time mathematics, and conditional statements.
- New set operations such as
UNION JOIN
,NATURAL JOIN
, set differences, and set intersections. - Support for alterations of schema definitions via
ALTER
andDROP
. - Bindings for C, Ada, and MUMPS.
- New features for user privileges.
- New integrity-checking functionality such as within a
CHECK
constraint. - New schema definitions for "Information".
- Dynamic execution of queries (as opposed to prepared).
- Better support for remote database access.
- Temporary tables.
- Transaction isolation levels.
- New operations for changing data types on the fly via
CAST
. - Scrolling cursors.
- Compatibility flagging for backwards and forwards compatibility with other SQL standards.
- Call Level Interface
References
- ^ Jim Melton; Alan R. Simon (1993). The New SQL: A Complete Guide. Morgan Kaufmann. pp. 11–12. ISBN 978-1-55860-245-8.
- ^ C. J. Date with Hugh Darwen: A Guide to the SQL standard : a users guide to the standard database language SQL, 4th ed., Addison Wesley, USA 1997, ISBN 978-0-201-96426-4
External links