Differences between SQL-89, SQL-92 & SQL-199

Could you please tell me, in brief, the differences between SQL-89, SQL-92 and SQL-1999, and whether Oracle and SQL Server fully adhere to SQL-1999?

    Requires Free Membership to View

    By submitting your registration information to SearchSQLServer.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchSQLServer.com is governed by our Terms of Use. You may contact us at [email protected].

A full list of the differences between SQL-89, SQL-92, and SQL-99 (a.k.a. SQL1, SQL2, and SQL3) cannot really be summed up in brief –- many changes occurred between each version. However, backwards-compatibility was stressed with each release, and code that worked against SQL-89 should still work with SQL-99.

The most important changes between SQL-89 and SQL-92, in my opinion, were modifications to the join syntax, specifically the addition of the OUTER JOIN clause.

SQL-99 really focused on the business analytics side of things, with additions such as Common Table Expressions and the SQL/PSM standard for defining Java-based modules. SQL/PSM (Persistent Stored Module) was actually added to SQL-92 in 1996, but is considered to be part of the SQL-99 standard.

Both SQL Server and Oracle do support parts of SQL-99 -– but neither of them supports the entire standard.

For more information on the ANSI SQL Standard, I recommend picking up a copy of A Guide to the SQL Standard (4th Edition) by C.J. Date and Hugh Darwen (Addison-Wesley Professional, 1996).


Do you have comments on this Ask the Expert Q&A;? Let us know.

This was first published in May 2005

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.