Jump to content

SQL:2003: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
CYCC (talk | contribs)
Galaxy07 (talk | contribs)
Line 52: Line 52:
[[es:SQL:2003]]
[[es:SQL:2003]]
[[ru:SQL:2003]]
[[ru:SQL:2003]]
[[en:SQL:2003]]

Revision as of 09:04, 27 October 2008

SQL:2003 is the fifth revision of the SQL database query language. The latest revision of the standard is SQL:2006.

Summary

The SQL:2003 standard makes minor modifications to all parts of SQL:1999 (also known as SQL3), and officially introduces a few new features such as:[1]

  • XML-related features
  • window functions
  • the sequence generator, which allows standardized sequences
  • two new column types: auto-generated values and identity-columns
  • the new MERGE statement
  • extensions to the CREATE TABLE statement, to allow "CREATE TABLE AS" and "CREATE TABLE LIKE"
  • removal of the poorly-implemented "BIT" and "BIT VARYING" data types

Documentation availability

The SQL standard is not freely available. SQL:2003 may be purchased from ISO or ANSI. A late draft 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.

DBMS compliance

Since the SQL:2003 standard is relatively new, few DBMS implementations are able to claim full compliance with it yet. However, most vendors have partial compliance with the core SQL:2003 features, for example data dictionary functions, and sometimes have legacy, non-standard syntax equivalents that they had introduced prior to the SQL:2003 standard.

References

  1. ^ Eisenberg, Andrew (2004). "SQL:2003 Has Been Published" (pdf). SIGMOD Record. 33 (1): 119. doi:10.1145/974121.974142. Retrieved 2007-08-14. {{cite journal}}: Unknown parameter |coauthors= ignored (|author= suggested) (help); Unknown parameter |month= ignored (help)
  2. ^ "Oracle Compliance To Core SQL:2003". Oracle. Retrieved 2007-05-27.
  3. ^ "PostgreSQL: SQL Conformance". PostgreSQL 8.3devel Documentation. PostgreSQL.org. Retrieved 2007-05-27.
  4. ^ "PostgreSQL: Unsupported Features". PostgreSQL 8.3devel Documentation. PostgreSQL.org. Retrieved 2007-05-27.
  5. ^ "PostgreSQL: Supported Features". PostgreSQL 8.3devel Documentation. PostgreSQL.org. Retrieved 2007-05-27.
  6. ^ "MySQL Documentation on Stored Procedures". MySQL. Retrieved 2007-08-14. MySQL follows the SQL:2003 syntax for stored routines, which is also used by IBM's DB2.
  7. ^ "SQL Standard Conformance". Dmitry Yemanov(Firebird Foundation). Retrieved 2006-02-11. This document outlines how much Firebird conforms to the current SQL standard.
  8. ^ "Derby Features". Apache.

en:SQL:2003