8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 16:43:03 +01:00
firebird-mirror/doc/sql.extensions/README.keywords

408 lines
5.6 KiB
Plaintext
Raw Normal View History

2005-01-20 13:35:38 +01:00
----------------------------------------------------
SQL keywords introduced in different server versions
----------------------------------------------------
Deviations from the standard:
* : keyword does not exist in the SQL:2016 specification and should be
considered a non-standard language extention.
(1) : reserved word in SQL:2016, non-reserved in Firebird
(2) : non-reserved word in SQL:2016, reserved word in Firebird
2005-01-20 13:35:38 +01:00
Firebird 1.0
------------
2005-01-20 13:35:38 +01:00
Added as reserved words:
BREAK *
CURRENT_ROLE
CURRENT_USER
DESCRIPTOR (2)
FIRST (2)
2005-01-20 13:35:38 +01:00
RECREATE *
SKIP
2005-01-20 13:35:38 +01:00
SUBSTRING
Firebird 1.5
------------
2005-01-20 13:35:38 +01:00
Added as reserved words:
BIGINT
CASE
CURRENT_CONNECTION *
CURRENT_TRANSACTION *
2005-01-20 13:35:38 +01:00
RELEASE
ROW_COUNT
SAVEPOINT
Added as non-reserved words:
COALESCE (1)
2005-01-20 13:35:38 +01:00
DELETING *
INSERTING *
LAST
LEAVE *
2005-01-20 13:35:38 +01:00
LOCK *
NULLIF (1)
2005-01-20 13:35:38 +01:00
NULLS
STATEMENT
UPDATING *
USING (1)
2005-01-20 13:35:38 +01:00
Moved from reserved words to non-reserved:
BREAK *
DESCRIPTOR
FIRST
SKIP (1)
SUBSTRING (1)
2005-01-20 13:35:38 +01:00
Firebird 2.0
------------
2005-01-20 13:35:38 +01:00
Added as reserved words:
BIT_LENGTH *
2005-05-28 00:45:31 +02:00
BOTH
CHAR_LENGTH
CHARACTER_LENGTH
2005-01-20 13:35:38 +01:00
CLOSE
CROSS
FETCH
2005-05-28 00:45:31 +02:00
LEADING
LOWER
OCTET_LENGTH
2005-01-20 13:35:38 +01:00
OPEN
ROWS
2005-05-28 00:45:31 +02:00
TRAILING
TRIM
2005-01-20 13:35:38 +01:00
Moved from non-reserved words to reserved:
USING
Added as non-reserved words:
BACKUP *
BLOCK *
2005-07-05 10:07:38 +02:00
COLLATION
COMMENT *
2005-01-20 13:35:38 +01:00
DIFFERENCE *
IIF *
NEXT
SCALAR_ARRAY *
SEQUENCE
RESTART
RETURNING
2005-01-20 13:35:38 +01:00
Moved from reserved words to non-reserved:
ACTION
CASCADE
FREE_IT *
RESTRICT
ROLE
TYPE
WEEKDAY *
YEARDAY *
Removed reserved words:
BASENAME *
CACHE *
CHECK_POINT_LEN *
GROUP_COMMIT_WAIT *
LOGFILE *
LOG_BUF_SIZE *
NUM_LOG_BUFS *
RAW_PARTITIONS *
2008-04-03 11:05:48 +02:00
Firebird 2.1
------------
2008-04-03 11:05:48 +02:00
Added as reserved words:
CONNECT
DISCONNECT
GLOBAL
INSENSITIVE
RECURSIVE
SENSITIVE
2008-04-10 12:54:26 +02:00
START
2008-04-03 11:05:48 +02:00
Added as non-reserved words:
ABS (1)
2008-04-03 11:05:48 +02:00
ACCENT *
ACOS (1)
ALWAYS
2008-04-03 11:05:48 +02:00
ASCII_CHAR *
ASCII_VAL *
ASIN (1)
ATAN (1)
2008-04-03 11:05:48 +02:00
ATAN2 *
BIN_AND *
BIN_OR *
BIN_SHL *
BIN_SHR *
BIN_XOR *
CEIL (1)
CEILING (1)
COS (1)
COSH (1)
2008-04-03 11:05:48 +02:00
COT *
DATEADD *
DATEDIFF *
DECODE *
EXP (1)
FLOOR (1)
2008-04-03 11:05:48 +02:00
GEN_UUID *
GENERATED
HASH *
LIST *
LN (1)
LOG (1)
LOG10 (1)
2008-04-03 11:05:48 +02:00
LPAD *
MATCHED
MATCHING *
MAXVALUE
2008-04-03 11:05:48 +02:00
MILLISECOND *
MINVALUE
MOD (1)
OVERLAY (1)
2008-04-03 11:05:48 +02:00
PAD
PI *
PLACING
POWER (1)
2008-04-03 11:05:48 +02:00
PRESERVE
RAND *
REPLACE *
REVERSE *
ROUND *
RPAD *
SIGN *
SIN (1)
SINH (1)
2008-04-03 11:05:48 +02:00
SPACE
SQRT (1)
TAN (1)
TANH (1)
2008-04-03 11:05:48 +02:00
TEMPORARY
TRUNC *
WEEK *
Firebird 2.5
------------
2008-04-03 11:05:48 +02:00
Added as reserved words:
SIMILAR
Added as non-reserved words:
AUTONOMOUS *
2008-04-16 04:09:14 +02:00
BIN_NOT *
CALLER *
2008-04-03 11:05:48 +02:00
CHAR_TO_UUID *
COMMON *
DATA
2008-04-03 11:05:48 +02:00
FIRSTNAME *
GRANTED
2008-04-03 11:05:48 +02:00
LASTNAME *
MIDDLENAME *
MAPPING *
2008-04-03 11:05:48 +02:00
OS_NAME *
SOURCE
TWO_PHASE *
2008-04-03 11:05:48 +02:00
UUID_TO_CHAR *
2013-04-13 08:50:19 +02:00
Firebird 3.0
------------
Added as reserved words:
2014-11-12 08:44:31 +01:00
BOOLEAN
2015-06-24 00:00:25 +02:00
CORR
COVAR_POP
COVAR_SAMP
2013-04-13 08:50:19 +02:00
DETERMINISTIC
2014-11-12 08:44:31 +01:00
FALSE
2015-06-24 00:00:25 +02:00
OFFSET
2013-04-13 08:50:19 +02:00
OVER
2015-06-24 00:00:25 +02:00
RDB$RECORD_VERSION *
REGR_AVGX
REGR_AVGY
REGR_COUNT
REGR_INTERCEPT
REGR_R2
REGR_SLOPE
REGR_SXX
REGR_SXY
REGR_SYY
2013-04-13 08:50:19 +02:00
RETURN
2015-06-24 00:00:25 +02:00
ROW
2013-04-13 08:50:19 +02:00
SCROLL
SQLSTATE
2015-06-24 00:00:25 +02:00
STDDEV_POP
STDDEV_SAMP
2014-11-12 08:44:31 +01:00
TRUE
UNKNOWN
2015-06-24 00:00:25 +02:00
VAR_POP
VAR_SAMP
2013-04-13 08:50:19 +02:00
Moved from non-reserved words to reserved:
DELETING *
INSERTING *
RDB$GET_CONTEXT *
RDB$SET_CONTEXT *
UPDATING *
2013-04-13 08:50:19 +02:00
Added as non-reserved words:
ABSOLUTE
ACOSH *
ASINH *
ATANH *
BODY *
CONTINUE
DDL *
DECRYPT *
DENSE_RANK (1)
2013-04-13 08:50:19 +02:00
ENCRYPT *
ENGINE *
FIRST_VALUE (1)
IDENTITY (1)
2014-11-12 08:44:31 +01:00
INCREMENT
LAST_VALUE (1)
LAG (1)
LEAD (1)
2015-06-24 00:00:25 +02:00
LINGER *
2013-04-13 08:50:19 +02:00
NAME
NTH_VALUE (1)
2013-04-13 08:50:19 +02:00
PACKAGE *
PARTITION (1)
2015-06-24 00:00:25 +02:00
PLUGIN *
2013-04-13 08:50:19 +02:00
PRIOR
RANK (1)
2013-04-13 08:50:19 +02:00
RELATIVE
ROW_NUMBER (1)
2015-06-24 00:00:25 +02:00
SERVERWIDE *
TAGS *
TRUSTED *
2013-04-13 08:50:19 +02:00
USAGE
Firebird 4.0
------------
Added as reserved words:
2017-01-17 13:46:14 +01:00
BINARY
DECFLOAT
2020-05-07 09:21:36 +02:00
LATERAL
2018-05-09 18:12:59 +02:00
LOCAL
LOCALTIME
LOCALTIMESTAMP
2020-04-06 09:46:47 +02:00
PUBLICATION *
2020-05-07 09:21:36 +02:00
RDB$GET_TRANSACTION_CN *
RDB$ERROR *
RDB$ROLE_IN_USE *
RDB$SYSTEM_PRIVILEGE *
2018-05-09 18:12:59 +02:00
TIMEZONE_HOUR
TIMEZONE_MINUTE
UNBOUNDED (2)
2017-01-17 13:46:14 +01:00
VARBINARY
WINDOW
2018-05-09 18:12:59 +02:00
WITHOUT
Added as non-reserved words:
2020-05-07 09:21:36 +02:00
BASE64_DECODE *
BASE64_ENCODE *
BIND *
COMPARE_DECFLOAT *
2020-05-07 09:21:36 +02:00
CONSISTENCY *
COUNTER *
CTR_BIG_ENDIAN *
CTR_LENGTH *
CTR_LITTLE_ENDIAN *
CUME_DIST (1)
DEFINER
2020-04-06 09:46:47 +02:00
DISABLE *
ENABLE *
2020-05-07 09:21:36 +02:00
EXCESS *
EXCLUDE
2020-05-07 09:21:36 +02:00
EXTENDED *
FIRST_DAY *
FOLLOWING
2020-05-07 09:21:36 +02:00
HEX_DECODE *
HEX_ENCODE *
IDLE *
INVOKER
2020-05-07 09:21:36 +02:00
IV *
LAST_DAY *
2018-07-03 17:58:37 +02:00
LEGACY *
2020-05-07 09:21:36 +02:00
LPARAM *
MAKE_DBKEY *
MESSAGE *
2020-05-07 09:21:36 +02:00
MODE *
NATIVE *
NORMALIZE_DECFLOAT *
NTILE (1)
NUMBER
OTHERS
OVERRIDING
PERCENT_RANK (1)
PRECEDING
PRIVILEGE *
QUANTIZE *
RANGE (1)
2018-07-03 17:58:37 +02:00
RESET *
2020-05-07 09:21:36 +02:00
RSA_DECRYPT *
RSA_ENCRYPT *
RSA_PRIVATE *
RSA_PUBLIC *
RSA_SIGN_HASH *
RSA_VERIFY_HASH *
2020-05-07 09:21:36 +02:00
SALT_LENGTH *
SECURITY
SESSION
2020-05-07 09:21:36 +02:00
SIGNATURE *
SQL (1)
SYSTEM (1)
TIES
TIMEZONE_NAME *
TOTALORDER *
TRAPS *
2018-05-09 18:12:59 +02:00
ZONE
2023-09-14 20:27:30 +02:00
Firebird 5.0
------------
Added as non-reserved words:
LOCKED
OPTIMIZE
QUARTER
TARGET
TIMEZONE_NAME
UNICODE_CHAR
UNICODE_VAL
Firebird 6.0
------------
Added as reserved words:
CALL
Added as non-reserved words:
ANY_VALUE
FORMAT
Moved from reserved words to non-reserved:
OWNER