Database Engines and ANSI SQL Compliance
Asked Answered
I

5

27

I've been searching for half an hour and can't find any resources stating what level of the SQL ANSI standard is supported on various database engines.

It looks like some level of support is provided by most engines, but I'd like to know exactly what level is officially supported.

I'm primarily interested in MySQL, PostgreSQL, SQL Server, and Oracle.

EDIT: PostgreSQL has a great page on compliance, exactly what I was looking for regarding the other engines: http://www.postgresql.org/docs/current/interactive/features.html

Innovation answered 30/8, 2010 at 17:12 Comment(4)
ANSI support depends on specific versions of the database products you listed, so it'd help us if you can clarify. This is a very broad question...Macassar
I am interested in the latest version of each product. However, I couldn't find ANSI compliance information even without restricting my research to a specific version.Innovation
ANSI-89 would be the fundamental level. After that, it's not wholesale support--just features & functions as seen fit.Macassar
download.oracle.com/docs/cd/E11882_01/server.112/e10592/…Frizzy
L
6

The question of "which level of the standard" is too simple.

There are portions of the standard that are implemented by no engine at all, e.g. CREATE ASSERTION.

For that reason, it might be better to speak of "percentage of standard features supported" for each individual engine. But the vendors will be very reluctant to publish such measurements themselves.

Leann answered 31/8, 2010 at 10:8 Comment(0)
A
2

The PostgreSQL manual has for all SQL statements a compatibility section.

Albanian answered 31/8, 2010 at 7:13 Comment(0)
P
2

According to the HSQLDB manual, it is the most standards compliant RDBMS.

  • Almost all syntactic features of SQL-92 up to Advanced Level are supported
  • SQL:2008 core and many optional features of this standard
Phip answered 25/3, 2012 at 1:3 Comment(3)
" supports the widest range of SQL standard features among all open source RDBMS."Leann
Other comparisons that actually list the features such as here: troels.arvin.dk/db/rdbms (granted it needs to be updated), have SQL Server as the least compliant. Which makes one wonder what standard they are talking about in your quote?Proudfoot
@Proudfoot This answer is about HSQLDB, not SQL Server. The guide you're quoting doesn't even mention HSQLDB. Which makes one wonder what you're talking about? :-)Anomalistic
P
0

Firebird 3 sql standard conformance page

Persephone answered 1/9, 2010 at 19:54 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.