# A list of SQL keyword candidates -- all known and potential future keywords across all databases.  We use this for testing.
# Sources include the old, hard-coded keyword lists in the dialects, the reserved word lists in the PostgreSQL, MySQL, and
# SQL Server documentation, and the return values of DatabaseMetaData.getSqlKeywords() for every database we support.
a
abort
abs
absent
absolute
access
accessible
according
acl
action
ada
add
admin
after
aggregate
alias
all
allocate
also
alter
always
analyse
analyze
and
any
append
arch_store
archive
are
arith_overflow
array
array_agg
as
asc
asensitive
assertion
assignment
asymmetric
at
atomic
attribute
attributes
audit
authorization
avg
backup
backward
base64
before
begin
bernoulli
between
bigint
binary
bit
bit_length
bitvar
blob
blocked
bom
boolean
both
breadth
break
browse
bulk
by
c
cache
call
called
cardinality
cascade
cascaded
case
cast
catalog
catalog_name
ceil
ceiling
chain
change
char
char_convert
char_length
character
character_length
character_set_catalog
character_set_name
character_set_schema
characteristics
characters
check
checked
checkpoint
class
class_origin
clob
close
cluster
clustered
coalesce
cobol
collate
collation
collation_catalog
collation_name
collation_schema
collect
column
column_name
column_value
columns
command_function
command_function_code
comment
comments
commit
committed
completion
compress
compute
concurrently
condition
condition_number
configuration
confirm
connect
connection
connection_name
constraint
constraint_catalog
constraint_name
constraint_schema
constraints
constructor
contains
containstable
content
continue
control
controlrow
conversion
convert
copy
corr
corresponding
cost
count
covar_pop
covar_samp
create
createdb
createrole
createuser
cross
csv
cube
cume_dist
current
current_catalog
current_date
current_default_transform_group
current_path
current_role
current_schema
current_time
current_timestamp
current_transform_group_for_type
current_user
cursor
cursor_name
cycle
data
data_pgs
database
databases
datalink
date
datetime_interval_code
datetime_interval_precision
day
day_hour
day_microsecond
day_minute
day_second
db
dbcc
deallocate
dec
decimal
declare
default
defaults
deferrable
deferred
defined
definer
degree
delayed
delete
delimiter
delimiters
dense_rank
deny
depth
deref
derived
desc
describe
descriptor
destroy
destructor
deterministic
diagnostics
dictionary
disable
discard
disconnect
disk
dispatch
distinct
distinctrow
distributed
div
dlnewcopy
dlpreviouscopy
dlurlcomplete
dlurlcompleteonly
dlurlcompletewrite
dlurlpath
dlurlpathonly
dlurlpathwrite
dlurlscheme
dlurlserver
dlvalue
do
document
domain
double
drop
dual
dummy
dump
dynamic
dynamic_function
dynamic_function_code
each
element
else
elseif
empty
enable
enclosed
encoding
encrypted
end
end-exec
endtran
enum
equals
errlvl
errordata
errorexit
escape
escaped
every
except
exception
exclude
excluding
exclusive
exec
execute
existing
exists
exit
exp
explain
extend
external
extract
false
family
fetch
file
fillfactor
filter
final
first
first_value
flag
float
float4
float8
floor
following
for
force
foreign
fortran
forward
found
free
freetext
freetexttable
freeze
from
fs
full
fulltext
fulltexttable
function
functions
fusion
g
general
generated
get
global
go
goto
grant
granted
greatest
group
grouping
handler
having
header
heavy
hex
hierarchy
high_priority
hold
holdlock
host
hour
hour_microsecond
hour_minute
hour_second
id
identified
identity
identity_insert
identitycol
if
ignore
ignore_server_ids
ilike
immediate
immutable
implementation
implicit
import
in
including
increment
indent
index
indexes
indicator
infile
infix
inherit
inherits
initial
initialize
initially
inline
inner
inout
input
insensitive
insert
instance
instantiable
instead
int
int1
int2
int3
int4
int8
integer
integrity
intersect
intersection
interval
into
invoker
is
isnull
isolation
iterate
join
k
key
key_member
key_type
keys
kill
lag
language
large
last
last_value
lateral
lc_collate
lc_ctype
lead
leading
leakproof
least
leave
left
length
less
level
library
light
like
like_regex
limit
linear
lineno
lines
link
listen
ln
load
local
localtime
localtimestamp
location
locator
lock
login
long
longblob
longtext
loop
low_priority
lower
m
map
mapping
master_heartbeat_period
master_ssl_verify_server_cert
match
matched
max
max_cardinality
max_rows_per_page
maxextents
maxvalue
mediumblob
mediumint
mediumtext
member
merge
message_length
message_octet_length
message_text
method
middleint
min
minus
minute
minute_microsecond
minute_second
minvalue
mirror
mirrorexit
mlslabel
mod
mode
modifies
modify
module
month
more
move
multiset
mumps
name
names
namespace
national
natural
nchar
nclob
nested_table_id
nesting
new
next
nfc
nfd
nfkc
nfkd
nil
no
no_write_to_binlog
noaudit
nocheck
nocompress
nocreatedb
nocreaterole
nocreateuser
noholdlock
noinherit
nologin
nonclustered
none
normalize
normalized
nosuperuser
not
nothing
notify
notnull
nowait
nth_value
ntile
null
nullable
nullif
nulls
number
numeric
numeric_truncation
object
occurrences_regex
octet_length
octets
of
off
offline
offset
offsets
oids
old
on
once
online
only
open
opendatasource
openquery
openrowset
openxml
operation
operator
optimize
option
optionally
options
or
order
ordering
ordinality
others
out
outer
outfile
output
over
overlaps
overlay
overriding
owned
owner
p
pad
parameter
parameter_mode
parameter_name
parameter_ordinal_position
parameter_specific_catalog
parameter_specific_name
parameter_specific_schema
parameters
parser
partial
partition
pascal
passing
passthrough
password
path
pctfree
percent
percent_rank
percentile_cont
percentile_disc
perm
permanent
permission
pivot
placing
plan
plans
pli
position
position_regex
postfix
power
preceding
precision
prefix
preorder
prepare
prepared
preserve
primary
print
prior
privileges
proc
procedural
procedure
processexit
public
purge
quote
raiserror
range
rank
raw
read
read_only
read_write
reads
readtext
real
reassign
recheck
recipe
reconfigure
recovery
recursive
ref
references
referencing
regexp
regr_avgx
regr_avgy
regr_count
regr_intercept
regr_r2
regr_slope
regr_sxx
regr_sxy
regr_syy
reindex
relative
release
rename
repeat
repeatable
replace
replica
replication
require
requiring
reserved_pgs
reset
resignal
resource
respect
restart
restore
restrict
result
retrieve
return
returned_cardinality
returned_length
returned_octet_length
returned_sqlstate
returning
returns
revert
revoke
right
rlike
role
rollback
rollup
routine
routine_catalog
routine_name
routine_schema
row
row_count
row_number
rowcnt
rowcount
rowguidcol
rowid
rownum
rows
rule
save
savepoint
scale
schema
schema_name
schemas
scope
scope_catalog
scope_name
scope_schema
scroll
search
second
second_microsecond
section
security
securityaudit
select
selective
self
sensitive
separator
sequence
sequences
serializable
server
server_name
session
session_user
set
setof
sets
setuser
share
shared
show
shutdown
signal
similar
simple
size
slow
smallint
snapshot
some
source
space
spatial
specific
specific_name
specifictype
sql
sql_big_result
sql_calc_found_rows
sql_small_result
sqlcode
sqlerror
sqlexception
sqlstate
sqlwarning
sqrt
ssl
stable
standalone
start
starting
state
statement
static
statistics
stddev_pop
stddev_samp
stdin
stdout
storage
store
straight_join
strict
strip
stripe
structure
style
subclass_origin
sublist
submultiset
substring
substring_regex
successful
sum
superuser
syb_identity
syb_restree
syb_terminate
symmetric
synonym
sysdate
sysid
system
system_user
t
table
table_name
tables
tablesample
tablespace
temp
template
temporary
terminate
terminated
text
textsize
than
then
ties
time
timestamp
timezone_hour
timezone_minute
tinyblob
tinyint
tinytext
to
token
top
top_level_count
trailing
tran
transaction
transaction_active
transactions_committed
transactions_rolled_back
transform
transforms
translate
translate_regex
translation
treat
trigger
trigger_catalog
trigger_name
trigger_schema
trim
trim_array
true
truncate
trusted
tsequal
type
types
uescape
uid
unbounded
uncommitted
under
undo
unencrypted
union
unique
unknown
unlink
unlisten
unlock
unnamed
unnest
unpartition
unpivot
unsigned
until
untyped
update
updatetext
upper
uri
usage
use
used_pgs
user
user_defined_type_catalog
user_defined_type_code
user_defined_type_name
user_defined_type_schema
user_option
using
utc_date
utc_time
utc_timestamp
vacuum
valid
validate
validator
value
values
var_pop
var_samp
varbinary
varchar
varchar2
varcharacter
variable
variadic
varying
verbose
version
view
volatile
waitfor
when
whenever
where
while
whitespace
width_bucket
window
with
within
without
work
wrapper
write
writetext
x509
xml
xmlagg
xmlattributes
xmlbinary
xmlcast
xmlcomment
xmlconcat
xmldeclaration
xmldocument
xmlelement
xmlexists
xmlforest
xmliterate
xmlnamespaces
xmlparse
xmlpi
xmlquery
xmlroot
xmlschema
xmlserialize
xmltable
xmltext
xmlvalidate
xor
year
year_month
yes
zerofill
zone
