<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=SQL-92</id>
	<title>SQL-92 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=SQL-92"/>
	<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=SQL-92&amp;action=history"/>
	<updated>2026-10-26T02:19:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://debianws.lexgopc.com/wiki143/index.php?title=SQL-92&amp;diff=1604663&amp;oldid=prev</id>
		<title>imported&gt;Jokerchess: add official standard, edit description</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=SQL-92&amp;diff=1604663&amp;oldid=prev"/>
		<updated>2025-06-04T10:23:57Z</updated>

		<summary type="html">&lt;p&gt;add official standard, edit description&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|1992 edition of the SQL standard}}&lt;br /&gt;
{{infobox technology standard|first_published=November 1992|domain=[[SQL]]}}&lt;br /&gt;
{{SQL language revisions}}&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;SQL-92&amp;#039;&amp;#039;&amp;#039; (also called SQL 2) 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.&lt;br /&gt;
&lt;br /&gt;
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&amp;amp;ndash;2. Many of the new features had already been implemented by vendors before the new standard was adopted.&amp;lt;ref name=&amp;quot;MeltonSimon1993&amp;quot;&amp;gt;{{cite book|author1=Jim Melton|author2=Alan R. Simon|title=Understanding The New SQL: A Complete Guide|year=1993|publisher=Morgan Kaufmann|isbn=978-1-55860-245-8|pages=[https://archive.org/details/understandingnew00melt/page/11 11–12]|url-access=registration|url=https://archive.org/details/understandingnew00melt/page/11}}&amp;lt;/ref&amp;gt; However, most of the new features were added to the &amp;quot;intermediate&amp;quot; and &amp;quot;full&amp;quot; tiers of the specification, meaning that conformance with SQL-92 entry level was scarcely any more demanding than conformance with [[SQL-89]].&lt;br /&gt;
&lt;br /&gt;
The next revision is [[SQL:1999]] (SQL3).&lt;br /&gt;
==Related official standard==&lt;br /&gt;
* ANSI X3.135-1992&lt;br /&gt;
* ISO/IEC 9075:1992&amp;lt;ref&amp;gt;{{cite web |url=https://www.iso.org/standard/16663.html |title=ISO/IEC 9075:1992 |access-date=4 June 2025}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
* FIPS PUB 127-2&lt;br /&gt;
&lt;br /&gt;
==New features==&lt;br /&gt;
Significant new features include:&amp;lt;ref&amp;gt;[[C. J. Date]] with [[Hugh Darwen]]: &amp;#039;&amp;#039;A Guide to the SQL standard : a users guide to the standard database language SQL, 4th ed.&amp;#039;&amp;#039;, Addison Wesley, USA 1997, {{ISBN|978-0-201-96426-4}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
* New data types defined: &amp;lt;code&amp;gt;DATE&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;TIME&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;TIMESTAMP&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;INTERVAL&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;BIT&amp;lt;/code&amp;gt; string, &amp;lt;code&amp;gt;VARCHAR&amp;lt;/code&amp;gt; strings, and &amp;lt;code&amp;gt;NATIONAL CHARACTER&amp;lt;/code&amp;gt; strings.&lt;br /&gt;
* Support for additional [[character set]]s beyond the base requirement for representing SQL statements.&lt;br /&gt;
* New scalar operations such as string concatenation and [[substring]] extraction, date and time mathematics, and conditional statements.&lt;br /&gt;
* New set operations such as &amp;lt;code&amp;gt;UNION&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;UNION ALL&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;CROSS JOIN&amp;lt;/code&amp;gt;, and formalized &amp;lt;code&amp;gt;JOIN&amp;lt;/code&amp;gt; types (&amp;lt;code&amp;gt;INNER JOIN&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;LEFT JOIN&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;RIGHT JOIN&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;FULL OUTER JOIN&amp;lt;/code&amp;gt;).&lt;br /&gt;
* Conditional expressions with &amp;lt;code&amp;gt;CASE&amp;lt;/code&amp;gt;. For an example, see [[Case (SQL)]].&lt;br /&gt;
* Support for alterations of [[Data Definition Language|schema definitions]] via &amp;lt;code&amp;gt;ALTER&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;DROP&amp;lt;/code&amp;gt;.&lt;br /&gt;
* Bindings for [[C (programming language)|C]], [[Ada (programming language)|Ada]], and [[MUMPS]].&lt;br /&gt;
* New features for user privileges.&lt;br /&gt;
* New integrity-checking functionality such as within a [[Check Constraint|&amp;lt;code&amp;gt;CHECK&amp;lt;/code&amp;gt; constraint]].&lt;br /&gt;
* A new &amp;#039;&amp;#039;information schema&amp;#039;&amp;#039;&amp;amp;mdash;read-only views about database metadata like what tables it contains, etc. For example, &amp;lt;code&amp;gt;SELECT * FROM INFORMATION_SCHEMA.TABLES;&amp;lt;/code&amp;gt;.&lt;br /&gt;
* Dynamic execution of queries (as opposed to prepared).&lt;br /&gt;
* Better support for remote database access.&lt;br /&gt;
* Temporary tables; &amp;lt;code&amp;gt;CREATE TEMP TABLE&amp;lt;/code&amp;gt; etc.&lt;br /&gt;
* [[Database transaction|Transaction]] [[Isolation (database systems)|isolation levels]].&lt;br /&gt;
* New operations for changing data types on the fly via &amp;lt;code&amp;gt;CAST (expr AS type)&amp;lt;/code&amp;gt;.&lt;br /&gt;
* [[Cursor (databases)#Scrollable cursors|Scrolled cursors]].&lt;br /&gt;
* Compatibility flagging for backwards and forwards compatibility with other SQL standards.&lt;br /&gt;
&lt;br /&gt;
== Extensions ==&lt;br /&gt;
Two significant extensions were published after standard (but before the next major iteration.)&lt;br /&gt;
* [[SQL/CLI]] ([[Call Level Interface]]) in 1995&lt;br /&gt;
* [[SQL/PSM]] ([[stored procedure]]s) in 1996&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{Authority Control}}&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [http://www.contrib.andrew.cmu.edu/~shadow/sql/sql1992.txt The SQL-92 standard]&lt;br /&gt;
&lt;br /&gt;
{{SQL}}&lt;br /&gt;
&lt;br /&gt;
[[Category:SQL|*]]&lt;br /&gt;
[[Category:Declarative programming languages]]&lt;br /&gt;
[[Category:Programming languages created in 1992]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Jokerchess</name></author>
	</entry>
</feed>