PragmaticSql2003

From Eigenpedia

Jump to: navigation, search

This page describes some deviations we're considering from SQL:2003 for cases where the specification is either completely counterintuitive, exceedingly pedantic, or backwards-incompatible. As part of implementing these, we should first implement a strict mode which disables them (different Eigenbase packagings may use different default modes; the vanilla distribution should default to strict).

Items below are extensions which have been suggested:

  • allow TRIM('ab' from 'abcde'); SQL:2003 only allows single-character trim strings (dtbug 154)
  • allow implicit numeric cast in UDR arguments (eigenjira:FRG-330)

Items below are choices made for behaviors which the standard specifies as implementation-defined:

  • In case of loss of trailing digits (e.g. Part 2 Section 6.26 General Rule 5.b), use rounding instead of truncation.

Items below are currently being worked out:

SQL:2008

We can also check later versions of the standard for guidance:

LucidDB Personality

See also LucidDbSqlConformance, some of which overlaps with the items above, but some of which is specific to LucidDB.

Personal tools