|First published||November 1992|
SQL-92 was the third revision of the SQL database query language. Unlike SQL-89, it was a major revision of the standard. Aside from 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 to 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. However, most of the new features were added to the "intermediate" and "full" tiers of the specification, meaning that conformance with SQL-92 entry level was scarcely any more demanding than conformance with SQL-89.
Significant new features include:
NATURAL JOIN, set differences, and set intersections.
CASE. For an example, see Case (SQL).
SELECT * FROM INFORMATION_SCHEMA.TABLES;.
CREATE TEMP TABLEetc.
CAST (expr AS type).
Two significant extensions were published after standard (but before the next major iteration.)
Edited: 2021-06-19 11:08:42