Oracle Compliance to Core SQL
The ANSI and ISO SQL standards require conformance claims to state the type of conformance and the implemented facilities. The minimum claim of conformance is called Core SQL and is defined in Part 2, SQL/Foundation, and Part 11, SQL/Schemata, of the standard. The following products provide full or partial conformance with Core SQL as described in the tables that follow:
-
Oracle Database server, release 12.2
-
OTT (Oracle Type Translator), release 12.2
-
Pro*C/C++, release 12.2
-
Pro*COBOL, release 12.2
The SQL standards conformance features can be used either as a guide to portability, or as a guide to functionality. From the standpoint of portability, the user is interested in conformance to both the precise syntax and semantics of the standard feature. From the standpoint of functionality, the user is less concerned about the precise syntax and more concerned with issues of semantics. The tables in this appendix use the following terms regarding support for standard syntax and semantics:
-
Full Support: The feature is supported with standard syntax and semantics.
-
Partial Support: Some, but not all, of the standard syntax is supported; whatever is supported has standard semantics.
-
Enhanced Support: The standard semantics is supported, as well as additional functionality.
-
Equivalent Support: The standard semantics is supported using non-standard syntax.
-
Similar Support: Neither the standard's syntax nor semantics are supported precisely, but similar functionality is provided.
Oracle's support for the features of Core SQL is listed in Table C-1:
Table C-1 Oracle Support of Core SQL Features
Feature ID, Feature | Support |
---|---|
E011, Numeric data types |
Oracle fully supports this feature. |
E021, Character data types |
Oracle fully supports these subfeatures:
Oracle partially supports these subfeatures:
Oracle has equivalent functionality for these subfeatures:
|
E031, Identifiers |
Oracle supports this feature, with the following exceptions:
Oracle extends this feature as follows:
|
E051, Basic query specification |
Oracle fully supports the following subfeatures:
Oracle partially supports the following subfeatures:
Oracle has equivalent functionality for the following subfeature:
|
E061, Basic predicates and search conditions |
Oracle fully supports this feature, except that Oracle comparison of character strings differs from the standard as follows: In the standard, two character strings of unequal length are compared by either padding the shorter string with spaces or a fictitious character that is less than all actual characters. The decision on padding is made on the basis of the character set. In Oracle, the decision is based on whether the comparands are of fixed or varying length. |
E071, Basic query expressions |
Oracle fully supports the following subfeatures:
Oracle has equivalent functionality for the following subfeature:
|
E081, Basic privileges |
Oracle fully supports all subfeatures of this feature, except E081-09, |
E091, Set functions |
Oracle fully supports this feature. |
E101, Basic data manipulation |
Oracle fully supports this feature. |
E111, Single row |
Oracle fully supports this feature. |
E121, Basic cursor support |
Oracle fully supports the following subfeatures:
Oracle provides partial support for the following subfeatures:
Oracle provides enhanced support for the following subfeature:
|
E131, Null value support |
Oracle fully supports this feature, with this exception: In Oracle, a null of character type is indistinguishable from a zero-length character string. |
E141, Basic integrity constraints |
Oracle fully supports this feature. |
E151, Transaction support |
Oracle fully supports this feature. |
E152, Basic |
Oracle fully supports this feature. |
E153, Updatable queries with subqueries |
Oracle fully supports this feature. |
E161, SQL comments using leading double minus |
Oracle fully supports this feature. |
E171, SQLSTATE support |
Oracle fully supports this feature. |
E182, Host language binding |
Oracle fully supports this feature through Pro*C/C++ and Pro*COBOL |
F021, Basic information schema |
Oracle does not have any of the views in this feature. However, Oracle makes the same information available in other metadata views:
|
F031, Basic schema manipulation |
Oracle fully supports these subfeatures:
Oracle provides equivalent support for this subfeature:
Oracle does not support these subfeatures (because Oracle does not support the keyword
(Oracle |
F041, Basic joined table |
Oracle fully supports this feature. |
F051, Basic date and time |
Oracle fully supports this feature, except the following subfeatures are not supported:
|
F081, |
Oracle fully supports |
F131, Grouped operations |
Oracle fully supports this feature. |
F181, Multiple module support |
Oracle fully supports this feature. |
F201, |
Oracle fully supports this feature. |
F221, Explicit defaults |
Oracle's |
F261, |
Oracle fully supports this feature. |
F311, Schema definition statement |
Oracle fully supports this feature. |
F471, Scalar subquery values |
Oracle fully supports this feature. |
F481, Expanded null predicate |
Oracle fully supports this feature. |
F501, Feature and conformance views |
Oracle does not support this feature. |
F812, Basic flagging |
Oracle has a flagger, but it flags SQL-92 compliance rather than SQL:2011 compliance. |
S011, Distinct types |
Distinct types are strongly typed scalar types. A distinct type can be emulated in Oracle using an object type with only one attribute. The standard's Information Schema view called |
T321, Basic SQL-invoked routines |
Oracle fully supports these subfeatures:
Oracle supports these subfeatures with syntactic differences:
The Oracle syntax for
Oracle supports the following subfeature in PL/SQL but not in Oracle SQL:
Oracle provides equivalent functionality for the following subfeatures:
|
T631, |
Oracle fully supports this feature. |