首页

定义SqlReservedWords语句保留词处理类通过汇总SQL保留字列表屏蔽字符串等条件中存在数据库常用关键词

标签:sql保留字,SQL关键词,常用数据库词,SqlReservedWords,mysql,oracle,postgresql,ms sql     发布时间:2019-04-06   

一、前言

通过组合ANSI SQL 92、ANSI SQL 99、ANSI SQL 2003、MySQL 3.23.x、MySQL 4.x、MySQL 5.x、PostGreSQL 8.1、MS SQL Server 2000、MS ODBC、Oracle 10.2常用数据库关键保留字,下面通过定义Java对应sql语句常用关键词工具类进行识别过滤等处理。

二、示例代码

package sql;@b@@b@import java.util.HashSet;@b@import java.util.Set;@b@@b@/**@b@ * This class contains a somewhat comprehensive list of SQL reserved words.@b@ * Since different databases have different reserved words, this list is@b@ * inclusive of many different databases - so it may include words that are not@b@ * reserved in some databases.@b@ * @b@ * <p>This list is based on the list from Drupal Handbook:@b@ * http://drupal.org/node/141051 With additions for DB2@b@ * @b@ * @author Jeff Butler@b@ * @b@ */@b@public class SqlReservedWords {@b@@b@    private static Set<String> RESERVED_WORDS;@b@@b@    static {@b@        String[] words = { "A", //$NON-NLS-1$@b@                "ABORT", //$NON-NLS-1$@b@                "ABS", //$NON-NLS-1$@b@                "ABSOLUTE", //$NON-NLS-1$@b@                "ACCESS", //$NON-NLS-1$@b@                "ACTION", //$NON-NLS-1$@b@                "ADA", //$NON-NLS-1$@b@                "ADD", // DB2 //$NON-NLS-1$@b@                "ADMIN", //$NON-NLS-1$@b@                "AFTER", // DB2 //$NON-NLS-1$@b@                "AGGREGATE", //$NON-NLS-1$@b@                "ALIAS", // DB2 //$NON-NLS-1$@b@                "ALL", // DB2 //$NON-NLS-1$@b@                "ALLOCATE", // DB2 //$NON-NLS-1$@b@                "ALLOW", // DB2 //$NON-NLS-1$@b@                "ALSO", //$NON-NLS-1$@b@                "ALTER", // DB2 //$NON-NLS-1$@b@                "ALWAYS", //$NON-NLS-1$@b@                "ANALYSE", //$NON-NLS-1$@b@                "ANALYZE", //$NON-NLS-1$@b@                "AND", // DB2 //$NON-NLS-1$@b@                "ANY", // DB2 //$NON-NLS-1$@b@                "APPLICATION", // DB2 //$NON-NLS-1$@b@                "ARE", //$NON-NLS-1$@b@                "ARRAY", //$NON-NLS-1$@b@                "AS", // DB2 //$NON-NLS-1$@b@                "ASC", //$NON-NLS-1$@b@                "ASENSITIVE", //$NON-NLS-1$@b@                "ASSERTION", //$NON-NLS-1$@b@                "ASSIGNMENT", //$NON-NLS-1$@b@                "ASSOCIATE", // DB2 //$NON-NLS-1$@b@                "ASUTIME", // DB2 //$NON-NLS-1$@b@                "ASYMMETRIC", //$NON-NLS-1$@b@                "AT", //$NON-NLS-1$@b@                "ATOMIC", //$NON-NLS-1$@b@                "ATTRIBUTE", //$NON-NLS-1$@b@                "ATTRIBUTES", //$NON-NLS-1$@b@                "AUDIT", // DB2 //$NON-NLS-1$@b@                "AUTHORIZATION", // DB2 //$NON-NLS-1$@b@                "AUTO_INCREMENT", //$NON-NLS-1$@b@                "AUX", // DB2 //$NON-NLS-1$@b@                "AUXILIARY", // DB2 //$NON-NLS-1$@b@                "AVG", //$NON-NLS-1$@b@                "AVG_ROW_LENGTH", //$NON-NLS-1$@b@                "BACKUP", //$NON-NLS-1$@b@                "BACKWARD", //$NON-NLS-1$@b@                "BEFORE", // DB2 //$NON-NLS-1$@b@                "BEGIN", // DB2 //$NON-NLS-1$@b@                "BERNOULLI", //$NON-NLS-1$@b@                "BETWEEN", // DB2 //$NON-NLS-1$@b@                "BIGINT", //$NON-NLS-1$@b@                "BINARY", // DB2 //$NON-NLS-1$@b@                "BIT", //$NON-NLS-1$@b@                "BIT_LENGTH", //$NON-NLS-1$@b@                "BITVAR", //$NON-NLS-1$@b@                "BLOB", //$NON-NLS-1$@b@                "BOOL", //$NON-NLS-1$@b@                "BOOLEAN", //$NON-NLS-1$@b@                "BOTH", //$NON-NLS-1$@b@                "BREADTH", //$NON-NLS-1$@b@                "BREAK", //$NON-NLS-1$@b@                "BROWSE", //$NON-NLS-1$@b@                "BUFFERPOOL", // DB2 //$NON-NLS-1$@b@                "BULK", //$NON-NLS-1$@b@                "BY", // DB2 //$NON-NLS-1$@b@                "C", //$NON-NLS-1$@b@                "CACHE", // DB2 //$NON-NLS-1$@b@                "CALL", // DB2 //$NON-NLS-1$@b@                "CALLED", // DB2 //$NON-NLS-1$@b@                "CAPTURE", // DB2 //$NON-NLS-1$@b@                "CARDINALITY", // DB2 //$NON-NLS-1$@b@                "CASCADE", //$NON-NLS-1$@b@                "CASCADED", // DB2 //$NON-NLS-1$@b@                "CASE", // DB2 //$NON-NLS-1$@b@                "CAST", // DB2 //$NON-NLS-1$@b@                "CATALOG", //$NON-NLS-1$@b@                "CATALOG_NAME", //$NON-NLS-1$@b@                "CCSID", // DB2 //$NON-NLS-1$@b@                "CEIL", //$NON-NLS-1$@b@                "CEILING", //$NON-NLS-1$@b@                "CHAIN", //$NON-NLS-1$@b@                "CHANGE", //$NON-NLS-1$@b@                "CHAR", // DB2 //$NON-NLS-1$@b@                "CHAR_LENGTH", //$NON-NLS-1$@b@                "CHARACTER", // DB2 //$NON-NLS-1$@b@                "CHARACTER_LENGTH", //$NON-NLS-1$@b@                "CHARACTER_SET_CATALOG", //$NON-NLS-1$@b@                "CHARACTER_SET_NAME", //$NON-NLS-1$@b@                "CHARACTER_SET_SCHEMA", //$NON-NLS-1$@b@                "CHARACTERISTICS", //$NON-NLS-1$@b@                "CHARACTERS", //$NON-NLS-1$@b@                "CHECK", // DB2 //$NON-NLS-1$@b@                "CHECKED", //$NON-NLS-1$@b@                "CHECKPOINT", //$NON-NLS-1$@b@                "CHECKSUM", //$NON-NLS-1$@b@                "CLASS", //$NON-NLS-1$@b@                "CLASS_ORIGIN", //$NON-NLS-1$@b@                "CLOB", //$NON-NLS-1$@b@                "CLOSE", // DB2 //$NON-NLS-1$@b@                "CLUSTER", // DB2 //$NON-NLS-1$@b@                "CLUSTERED", //$NON-NLS-1$@b@                "COALESCE", //$NON-NLS-1$@b@                "COBOL", //$NON-NLS-1$@b@                "COLLATE", //$NON-NLS-1$@b@                "COLLATION", //$NON-NLS-1$@b@                "COLLATION_CATALOG", //$NON-NLS-1$@b@                "COLLATION_NAME", //$NON-NLS-1$@b@                "COLLATION_SCHEMA", //$NON-NLS-1$@b@                "COLLECT", //$NON-NLS-1$@b@                "COLLECTION", // DB2 //$NON-NLS-1$@b@                "COLLID", // DB2 //$NON-NLS-1$@b@                "COLUMN", // DB2 //$NON-NLS-1$@b@                "COLUMN_NAME", //$NON-NLS-1$@b@                "COLUMNS", //$NON-NLS-1$@b@                "COMMAND_FUNCTION", //$NON-NLS-1$@b@                "COMMAND_FUNCTION_CODE", //$NON-NLS-1$@b@                "COMMENT", // DB2 //$NON-NLS-1$@b@                "COMMIT", // DB2 //$NON-NLS-1$@b@                "COMMITTED", //$NON-NLS-1$@b@                "COMPLETION", //$NON-NLS-1$@b@                "COMPRESS", //$NON-NLS-1$@b@                "COMPUTE", //$NON-NLS-1$@b@                "CONCAT", // DB2 //$NON-NLS-1$@b@                "CONDITION", // DB2 //$NON-NLS-1$@b@                "CONDITION_NUMBER", //$NON-NLS-1$@b@                "CONNECT", // DB2 //$NON-NLS-1$@b@                "CONNECTION", // DB2 //$NON-NLS-1$@b@                "CONNECTION_NAME", //$NON-NLS-1$@b@                "CONSTRAINT", // DB2 //$NON-NLS-1$@b@                "CONSTRAINT_CATALOG", //$NON-NLS-1$@b@                "CONSTRAINT_NAME", //$NON-NLS-1$@b@                "CONSTRAINT_SCHEMA", //$NON-NLS-1$@b@                "CONSTRAINTS", //$NON-NLS-1$@b@                "CONSTRUCTOR", //$NON-NLS-1$@b@                "CONTAINS", // DB2 //$NON-NLS-1$@b@                "CONTAINSTABLE", //$NON-NLS-1$@b@                "CONTINUE", // DB2 //$NON-NLS-1$@b@                "CONVERSION", //$NON-NLS-1$@b@                "CONVERT", //$NON-NLS-1$@b@                "COPY", //$NON-NLS-1$@b@                "CORR", //$NON-NLS-1$@b@                "CORRESPONDING", //$NON-NLS-1$@b@                "COUNT", // DB2 //$NON-NLS-1$@b@                "COUNT_BIG", // DB2 //$NON-NLS-1$@b@                "COVAR_POP", //$NON-NLS-1$@b@                "COVAR_SAMP", //$NON-NLS-1$@b@                "CREATE", // DB2 //$NON-NLS-1$@b@                "CREATEDB", //$NON-NLS-1$@b@                "CREATEROLE", //$NON-NLS-1$@b@                "CREATEUSER", //$NON-NLS-1$@b@                "CROSS", // DB2 //$NON-NLS-1$@b@                "CSV", //$NON-NLS-1$@b@                "CUBE", //$NON-NLS-1$@b@                "CUME_DIST", //$NON-NLS-1$@b@                "CURRENT", // DB2 //$NON-NLS-1$@b@                "CURRENT_DATE", // DB2 //$NON-NLS-1$@b@                "CURRENT_DEFAULT_TRANSFORM_GROUP", //$NON-NLS-1$@b@                "CURRENT_LC_CTYPE", // DB2 //$NON-NLS-1$@b@                "CURRENT_PATH", // DB2 //$NON-NLS-1$@b@                "CURRENT_ROLE", //$NON-NLS-1$@b@                "CURRENT_SERVER", // DB2 //$NON-NLS-1$@b@                "CURRENT_TIME", // DB2 //$NON-NLS-1$@b@                "CURRENT_TIMESTAMP", // DB2 //$NON-NLS-1$@b@                "CURRENT_TIMEZONE", // DB2 //$NON-NLS-1$@b@                "CURRENT_TRANSFORM_GROUP_FOR_TYPE", //$NON-NLS-1$@b@                "CURRENT_USER", // DB2 //$NON-NLS-1$@b@                "CURSOR", // DB2 //$NON-NLS-1$@b@                "CURSOR_NAME", //$NON-NLS-1$@b@                "CYCLE", // DB2 //$NON-NLS-1$@b@                "DATA", // DB2 //$NON-NLS-1$@b@                "DATABASE", // DB2 //$NON-NLS-1$@b@                "DATABASES", //$NON-NLS-1$@b@                "DATE", //$NON-NLS-1$@b@                "DATETIME", //$NON-NLS-1$@b@                "DATETIME_INTERVAL_CODE", //$NON-NLS-1$@b@                "DATETIME_INTERVAL_PRECISION", //$NON-NLS-1$@b@                "DAY", // DB2 //$NON-NLS-1$@b@                "DAY_HOUR", //$NON-NLS-1$@b@                "DAY_MICROSECOND", //$NON-NLS-1$@b@                "DAY_MINUTE", //$NON-NLS-1$@b@                "DAY_SECOND", //$NON-NLS-1$@b@                "DAYOFMONTH", //$NON-NLS-1$@b@                "DAYOFWEEK", //$NON-NLS-1$@b@                "DAYOFYEAR", //$NON-NLS-1$@b@                "DAYS", // DB2 //$NON-NLS-1$@b@                "DB2GENERAL", // DB2 //$NON-NLS-1$@b@                "DB2GNRL", // DB2 //$NON-NLS-1$@b@                "DB2SQL", // DB2 //$NON-NLS-1$@b@                "DBCC", //$NON-NLS-1$@b@                "DBINFO", // DB2 //$NON-NLS-1$@b@                "DEALLOCATE", //$NON-NLS-1$@b@                "DEC", //$NON-NLS-1$@b@                "DECIMAL", //$NON-NLS-1$@b@                "DECLARE", // DB2 //$NON-NLS-1$@b@                "DEFAULT", // DB2 //$NON-NLS-1$@b@                "DEFAULTS", // DB2 //$NON-NLS-1$@b@                "DEFERRABLE", //$NON-NLS-1$@b@                "DEFERRED", //$NON-NLS-1$@b@                "DEFINED", //$NON-NLS-1$@b@                "DEFINER", //$NON-NLS-1$@b@                "DEFINITION", // DB2 //$NON-NLS-1$@b@                "DEGREE", //$NON-NLS-1$@b@                "DELAY_KEY_WRITE", //$NON-NLS-1$@b@                "DELAYED", //$NON-NLS-1$@b@                "DELETE", // DB2 //$NON-NLS-1$@b@                "DELIMITER", //$NON-NLS-1$@b@                "DELIMITERS", //$NON-NLS-1$@b@                "DENSE_RANK", //$NON-NLS-1$@b@                "DENY", //$NON-NLS-1$@b@                "DEPTH", //$NON-NLS-1$@b@                "DEREF", //$NON-NLS-1$@b@                "DERIVED", //$NON-NLS-1$@b@                "DESC", //$NON-NLS-1$@b@                "DESCRIBE", //$NON-NLS-1$@b@                "DESCRIPTOR", // DB2 //$NON-NLS-1$@b@                "DESTROY", //$NON-NLS-1$@b@                "DESTRUCTOR", //$NON-NLS-1$@b@                "DETERMINISTIC", // DB2 //$NON-NLS-1$@b@                "DIAGNOSTICS", //$NON-NLS-1$@b@                "DICTIONARY", //$NON-NLS-1$@b@                "DISABLE", //$NON-NLS-1$@b@                "DISALLOW", // DB2 //$NON-NLS-1$@b@                "DISCONNECT", // DB2 //$NON-NLS-1$@b@                "DISK", //$NON-NLS-1$@b@                "DISPATCH", //$NON-NLS-1$@b@                "DISTINCT", // DB2 //$NON-NLS-1$@b@                "DISTINCTROW", //$NON-NLS-1$@b@                "DISTRIBUTED", //$NON-NLS-1$@b@                "DIV", //$NON-NLS-1$@b@                "DO", // DB2 //$NON-NLS-1$@b@                "DOMAIN", //$NON-NLS-1$@b@                "DOUBLE", // DB2 //$NON-NLS-1$@b@                "DROP", // DB2 //$NON-NLS-1$@b@                "DSNHATTR", // DB2 //$NON-NLS-1$@b@                "DSSIZE", // DB2 //$NON-NLS-1$@b@                "DUAL", //$NON-NLS-1$@b@                "DUMMY", //$NON-NLS-1$@b@                "DUMP", //$NON-NLS-1$@b@                "DYNAMIC", // DB2 //$NON-NLS-1$@b@                "DYNAMIC_FUNCTION", //$NON-NLS-1$@b@                "DYNAMIC_FUNCTION_CODE", //$NON-NLS-1$@b@                "EACH", // DB2 //$NON-NLS-1$@b@                "EDITPROC", // DB2 //$NON-NLS-1$@b@                "ELEMENT", //$NON-NLS-1$@b@                "ELSE", // DB2 //$NON-NLS-1$@b@                "ELSEIF", // DB2 //$NON-NLS-1$@b@                "ENABLE", //$NON-NLS-1$@b@                "ENCLOSED", //$NON-NLS-1$@b@                "ENCODING", // DB2 //$NON-NLS-1$@b@                "ENCRYPTED", //$NON-NLS-1$@b@                "END", // DB2 //$NON-NLS-1$@b@                "END-EXEC", // DB2 //$NON-NLS-1$@b@                "END-EXEC1", // DB2 //$NON-NLS-1$@b@                "ENUM", //$NON-NLS-1$@b@                "EQUALS", //$NON-NLS-1$@b@                "ERASE", // DB2 //$NON-NLS-1$@b@                "ERRLVL", //$NON-NLS-1$@b@                "ESCAPE", // DB2 //$NON-NLS-1$@b@                "ESCAPED", //$NON-NLS-1$@b@                "EVERY", //$NON-NLS-1$@b@                "EXCEPT", // DB2 //$NON-NLS-1$@b@                "EXCEPTION", // DB2 //$NON-NLS-1$@b@                "EXCLUDE", //$NON-NLS-1$@b@                "EXCLUDING", // DB2 //$NON-NLS-1$@b@                "EXCLUSIVE", //$NON-NLS-1$@b@                "EXEC", //$NON-NLS-1$@b@                "EXECUTE", // DB2 //$NON-NLS-1$@b@                "EXISTING", //$NON-NLS-1$@b@                "EXISTS", // DB2 //$NON-NLS-1$@b@                "EXIT", // DB2 //$NON-NLS-1$@b@                "EXP", //$NON-NLS-1$@b@                "EXPLAIN", //$NON-NLS-1$@b@                "EXTERNAL", // DB2 //$NON-NLS-1$@b@                "EXTRACT", //$NON-NLS-1$@b@                "FALSE", //$NON-NLS-1$@b@                "FENCED", // DB2 //$NON-NLS-1$@b@                "FETCH", // DB2 //$NON-NLS-1$@b@                "FIELDPROC", // DB2 //$NON-NLS-1$@b@                "FIELDS", //$NON-NLS-1$@b@                "FILE", // DB2 //$NON-NLS-1$@b@                "FILLFACTOR", //$NON-NLS-1$@b@                "FILTER", //$NON-NLS-1$@b@                "FINAL", // DB2 //$NON-NLS-1$@b@                "FIRST", //$NON-NLS-1$@b@                "FLOAT", //$NON-NLS-1$@b@                "FLOAT4", //$NON-NLS-1$@b@                "FLOAT8", //$NON-NLS-1$@b@                "FLOOR", //$NON-NLS-1$@b@                "FLUSH", //$NON-NLS-1$@b@                "FOLLOWING", //$NON-NLS-1$@b@                "FOR", // DB2 //$NON-NLS-1$@b@                "FORCE", //$NON-NLS-1$@b@                "FOREIGN", // DB2 //$NON-NLS-1$@b@                "FORTRAN", //$NON-NLS-1$@b@                "FORWARD", //$NON-NLS-1$@b@                "FOUND", //$NON-NLS-1$@b@                "FREE", // DB2 //$NON-NLS-1$@b@                "FREETEXT", //$NON-NLS-1$@b@                "FREETEXTTABLE", //$NON-NLS-1$@b@                "FREEZE", //$NON-NLS-1$@b@                "FROM", // DB2 //$NON-NLS-1$@b@                "FULL", // DB2 //$NON-NLS-1$@b@                "FULLTEXT", //$NON-NLS-1$@b@                "FUNCTION", // DB2 //$NON-NLS-1$@b@                "FUSION", //$NON-NLS-1$@b@                "G", //$NON-NLS-1$@b@                "GENERAL", // DB2 //$NON-NLS-1$@b@                "GENERATED", // DB2 //$NON-NLS-1$@b@                "GET", // DB2 //$NON-NLS-1$@b@                "GLOBAL", // DB2 //$NON-NLS-1$@b@                "GO", // DB2 //$NON-NLS-1$@b@                "GOTO", // DB2 //$NON-NLS-1$@b@                "GRANT", // DB2 //$NON-NLS-1$@b@                "GRANTED", //$NON-NLS-1$@b@                "GRANTS", //$NON-NLS-1$@b@                "GRAPHIC", // DB2 //$NON-NLS-1$@b@                "GREATEST", //$NON-NLS-1$@b@                "GROUP", // DB2 //$NON-NLS-1$@b@                "GROUPING", //$NON-NLS-1$@b@                "HANDLER", // DB2 //$NON-NLS-1$@b@                "HAVING", // DB2 //$NON-NLS-1$@b@                "HEADER", //$NON-NLS-1$@b@                "HEAP", //$NON-NLS-1$@b@                "HIERARCHY", //$NON-NLS-1$@b@                "HIGH_PRIORITY", //$NON-NLS-1$@b@                "HOLD", // DB2 //$NON-NLS-1$@b@                "HOLDLOCK", //$NON-NLS-1$@b@                "HOST", //$NON-NLS-1$@b@                "HOSTS", //$NON-NLS-1$@b@                "HOUR", // DB2 //$NON-NLS-1$@b@                "HOUR_MICROSECOND", //$NON-NLS-1$@b@                "HOUR_MINUTE", //$NON-NLS-1$@b@                "HOUR_SECOND", //$NON-NLS-1$@b@                "HOURS", // DB2 //$NON-NLS-1$@b@                "IDENTIFIED", //$NON-NLS-1$@b@                "IDENTITY", // DB2 //$NON-NLS-1$@b@                "IDENTITY_INSERT", //$NON-NLS-1$@b@                "IDENTITYCOL", //$NON-NLS-1$@b@                "IF", // DB2 //$NON-NLS-1$@b@                "IGNORE", //$NON-NLS-1$@b@                "ILIKE", //$NON-NLS-1$@b@                "IMMEDIATE", // DB2 //$NON-NLS-1$@b@                "IMMUTABLE", //$NON-NLS-1$@b@                "IMPLEMENTATION", //$NON-NLS-1$@b@                "IMPLICIT", //$NON-NLS-1$@b@                "IN", // DB2 //$NON-NLS-1$@b@                "INCLUDE", //$NON-NLS-1$@b@                "INCLUDING", // DB2 //$NON-NLS-1$@b@                "INCREMENT", // DB2 //$NON-NLS-1$@b@                "INDEX", // DB2 //$NON-NLS-1$@b@                "INDICATOR", // DB2 //$NON-NLS-1$@b@                "INFILE", //$NON-NLS-1$@b@                "INFIX", //$NON-NLS-1$@b@                "INHERIT", // DB2 //$NON-NLS-1$@b@                "INHERITS", //$NON-NLS-1$@b@                "INITIAL", //$NON-NLS-1$@b@                "INITIALIZE", //$NON-NLS-1$@b@                "INITIALLY", //$NON-NLS-1$@b@                "INNER", // DB2 //$NON-NLS-1$@b@                "INOUT", // DB2 //$NON-NLS-1$@b@                "INPUT", //$NON-NLS-1$@b@                "INSENSITIVE", // DB2 //$NON-NLS-1$@b@                "INSERT", // DB2 //$NON-NLS-1$@b@                "INSERT_ID", //$NON-NLS-1$@b@                "INSTANCE", //$NON-NLS-1$@b@                "INSTANTIABLE", //$NON-NLS-1$@b@                "INSTEAD", //$NON-NLS-1$@b@                "INT", //$NON-NLS-1$@b@                "INT1", //$NON-NLS-1$@b@                "INT2", //$NON-NLS-1$@b@                "INT3", //$NON-NLS-1$@b@                "INT4", //$NON-NLS-1$@b@                "INT8", //$NON-NLS-1$@b@                "INTEGER", //$NON-NLS-1$@b@                "INTEGRITY", // DB2 //$NON-NLS-1$@b@                "INTERSECT", //$NON-NLS-1$@b@                "INTERSECTION", //$NON-NLS-1$@b@                "INTERVAL", //$NON-NLS-1$@b@                "INTO", // DB2 //$NON-NLS-1$@b@                "INVOKER", //$NON-NLS-1$@b@                "IS", // DB2 //$NON-NLS-1$@b@                "ISAM", //$NON-NLS-1$@b@                "ISNULL", //$NON-NLS-1$@b@                "ISOBID", // DB2 //$NON-NLS-1$@b@                "ISOLATION", // DB2 //$NON-NLS-1$@b@                "ITERATE", // DB2 //$NON-NLS-1$@b@                "JAR", // DB2 //$NON-NLS-1$@b@                "JAVA", // DB2 //$NON-NLS-1$@b@                "JOIN", // DB2 //$NON-NLS-1$@b@                "K", //$NON-NLS-1$@b@                "KEY", // DB2 //$NON-NLS-1$@b@                "KEY_MEMBER", //$NON-NLS-1$@b@                "KEY_TYPE", //$NON-NLS-1$@b@                "KEYS", //$NON-NLS-1$@b@                "KILL", //$NON-NLS-1$@b@                "LABEL", // DB2 //$NON-NLS-1$@b@                "LANCOMPILER", //$NON-NLS-1$@b@                "LANGUAGE", // DB2 //$NON-NLS-1$@b@                "LARGE", //$NON-NLS-1$@b@                "LAST", //$NON-NLS-1$@b@                "LAST_INSERT_ID", //$NON-NLS-1$@b@                "LATERAL", //$NON-NLS-1$@b@                "LC_CTYPE", // DB2 //$NON-NLS-1$@b@                "LEADING", //$NON-NLS-1$@b@                "LEAST", //$NON-NLS-1$@b@                "LEAVE", // DB2 //$NON-NLS-1$@b@                "LEFT", // DB2 //$NON-NLS-1$@b@                "LENGTH", //$NON-NLS-1$@b@                "LESS", //$NON-NLS-1$@b@                "LEVEL", //$NON-NLS-1$@b@                "LIKE", // DB2 //$NON-NLS-1$@b@                "LIMIT", //$NON-NLS-1$@b@                "LINENO", //$NON-NLS-1$@b@                "LINES", //$NON-NLS-1$@b@                "LINKTYPE", // DB2 //$NON-NLS-1$@b@                "LISTEN", //$NON-NLS-1$@b@                "LN", //$NON-NLS-1$@b@                "LOAD", //$NON-NLS-1$@b@                "LOCAL", // DB2 //$NON-NLS-1$@b@                "LOCALE", // DB2 //$NON-NLS-1$@b@                "LOCALTIME", //$NON-NLS-1$@b@                "LOCALTIMESTAMP", //$NON-NLS-1$@b@                "LOCATION", //$NON-NLS-1$@b@                "LOCATOR", // DB2 //$NON-NLS-1$@b@                "LOCATORS", // DB2 //$NON-NLS-1$@b@                "LOCK", // DB2 //$NON-NLS-1$@b@                "LOCKMAX", // DB2 //$NON-NLS-1$@b@                "LOCKSIZE", // DB2 //$NON-NLS-1$@b@                "LOGIN", //$NON-NLS-1$@b@                "LOGS", //$NON-NLS-1$@b@                "LONG", // DB2 //$NON-NLS-1$@b@                "LONGBLOB", //$NON-NLS-1$@b@                "LONGTEXT", //$NON-NLS-1$@b@                "LOOP", // DB2 //$NON-NLS-1$@b@                "LOW_PRIORITY", //$NON-NLS-1$@b@                "LOWER", //$NON-NLS-1$@b@                "M", //$NON-NLS-1$@b@                "MAP", //$NON-NLS-1$@b@                "MATCH", //$NON-NLS-1$@b@                "MATCHED", //$NON-NLS-1$@b@                "MAX", //$NON-NLS-1$@b@                "MAX_ROWS", //$NON-NLS-1$@b@                "MAXEXTENTS", //$NON-NLS-1$@b@                "MAXVALUE", // DB2 //$NON-NLS-1$@b@                "MEDIUMBLOB", //$NON-NLS-1$@b@                "MEDIUMINT", //$NON-NLS-1$@b@                "MEDIUMTEXT", //$NON-NLS-1$@b@                "MEMBER", //$NON-NLS-1$@b@                "MERGE", //$NON-NLS-1$@b@                "MESSAGE_LENGTH", //$NON-NLS-1$@b@                "MESSAGE_OCTET_LENGTH", //$NON-NLS-1$@b@                "MESSAGE_TEXT", //$NON-NLS-1$@b@                "METHOD", //$NON-NLS-1$@b@                "MICROSECOND", // DB2 //$NON-NLS-1$@b@                "MICROSECONDS", // DB2 //$NON-NLS-1$@b@                "MIDDLEINT", //$NON-NLS-1$@b@                "MIN", //$NON-NLS-1$@b@                "MIN_ROWS", //$NON-NLS-1$@b@                "MINUS", //$NON-NLS-1$@b@                "MINUTE", // DB2 //$NON-NLS-1$@b@                "MINUTE_MICROSECOND", //$NON-NLS-1$@b@                "MINUTE_SECOND", //$NON-NLS-1$@b@                "MINUTES", // DB2 //$NON-NLS-1$@b@                "MINVALUE", // DB2 //$NON-NLS-1$@b@                "MLSLABEL", //$NON-NLS-1$@b@                "MOD", //$NON-NLS-1$@b@                "MODE", // DB2 //$NON-NLS-1$@b@                "MODIFIES", // DB2 //$NON-NLS-1$@b@                "MODIFY", //$NON-NLS-1$@b@                "MODULE", //$NON-NLS-1$@b@                "MONTH", // DB2 //$NON-NLS-1$@b@                "MONTHNAME", //$NON-NLS-1$@b@                "MONTHS", // DB2 //$NON-NLS-1$@b@                "MORE", //$NON-NLS-1$@b@                "MOVE", //$NON-NLS-1$@b@                "MULTISET", //$NON-NLS-1$@b@                "MUMPS", //$NON-NLS-1$@b@                "MYISAM", //$NON-NLS-1$@b@                "NAME", //$NON-NLS-1$@b@                "NAMES", //$NON-NLS-1$@b@                "NATIONAL", //$NON-NLS-1$@b@                "NATURAL", //$NON-NLS-1$@b@                "NCHAR", //$NON-NLS-1$@b@                "NCLOB", //$NON-NLS-1$@b@                "NESTING", //$NON-NLS-1$@b@                "NEW", // DB2 //$NON-NLS-1$@b@                "NEW_TABLE", // DB2 //$NON-NLS-1$@b@                "NEXT", //$NON-NLS-1$@b@                "NO", // DB2 //$NON-NLS-1$@b@                "NO_WRITE_TO_BINLOG", //$NON-NLS-1$@b@                "NOAUDIT", //$NON-NLS-1$@b@                "NOCACHE", // DB2 //$NON-NLS-1$@b@                "NOCHECK", //$NON-NLS-1$@b@                "NOCOMPRESS", //$NON-NLS-1$@b@                "NOCREATEDB", //$NON-NLS-1$@b@                "NOCREATEROLE", //$NON-NLS-1$@b@                "NOCREATEUSER", //$NON-NLS-1$@b@                "NOCYCLE", // DB2 //$NON-NLS-1$@b@                "NODENAME", // DB2 //$NON-NLS-1$@b@                "NODENUMBER", // DB2 //$NON-NLS-1$@b@                "NOINHERIT", //$NON-NLS-1$@b@                "NOLOGIN", //$NON-NLS-1$@b@                "NOMAXVALUE", // DB2 //$NON-NLS-1$@b@                "NOMINVALUE", // DB2 //$NON-NLS-1$@b@                "NONCLUSTERED", //$NON-NLS-1$@b@                "NONE", //$NON-NLS-1$@b@                "NOORDER", // DB2 //$NON-NLS-1$@b@                "NORMALIZE", //$NON-NLS-1$@b@                "NORMALIZED", //$NON-NLS-1$@b@                "NOSUPERUSER", //$NON-NLS-1$@b@                "NOT", // DB2 //$NON-NLS-1$@b@                "NOTHING", //$NON-NLS-1$@b@                "NOTIFY", //$NON-NLS-1$@b@                "NOTNULL", //$NON-NLS-1$@b@                "NOWAIT", //$NON-NLS-1$@b@                "NULL", // DB2 //$NON-NLS-1$@b@                "NULLABLE", //$NON-NLS-1$@b@                "NULLIF", //$NON-NLS-1$@b@                "NULLS", // DB2 //$NON-NLS-1$@b@                "NUMBER", //$NON-NLS-1$@b@                "NUMERIC", //$NON-NLS-1$@b@                "NUMPARTS", // DB2 //$NON-NLS-1$@b@                "OBID", // DB2 //$NON-NLS-1$@b@                "OBJECT", //$NON-NLS-1$@b@                "OCTET_LENGTH", //$NON-NLS-1$@b@                "OCTETS", //$NON-NLS-1$@b@                "OF", // DB2 //$NON-NLS-1$@b@                "OFF", //$NON-NLS-1$@b@                "OFFLINE", //$NON-NLS-1$@b@                "OFFSET", //$NON-NLS-1$@b@                "OFFSETS", //$NON-NLS-1$@b@                "OIDS", //$NON-NLS-1$@b@                "OLD", // DB2 //$NON-NLS-1$@b@                "OLD_TABLE", // DB2 //$NON-NLS-1$@b@                "ON", // DB2 //$NON-NLS-1$@b@                "ONLINE", //$NON-NLS-1$@b@                "ONLY", //$NON-NLS-1$@b@                "OPEN", // DB2 //$NON-NLS-1$@b@                "OPENDATASOURCE", //$NON-NLS-1$@b@                "OPENQUERY", //$NON-NLS-1$@b@                "OPENROWSET", //$NON-NLS-1$@b@                "OPENXML", //$NON-NLS-1$@b@                "OPERATION", //$NON-NLS-1$@b@                "OPERATOR", //$NON-NLS-1$@b@                "OPTIMIZATION", // DB2 //$NON-NLS-1$@b@                "OPTIMIZE", // DB2 //$NON-NLS-1$@b@                "OPTION", // DB2 //$NON-NLS-1$@b@                "OPTIONALLY", //$NON-NLS-1$@b@                "OPTIONS", //$NON-NLS-1$@b@                "OR", // DB2 //$NON-NLS-1$@b@                "ORDER", // DB2 //$NON-NLS-1$@b@                "ORDERING", //$NON-NLS-1$@b@                "ORDINALITY", //$NON-NLS-1$@b@                "OTHERS", //$NON-NLS-1$@b@                "OUT", // DB2 //$NON-NLS-1$@b@                "OUTER", // DB2 //$NON-NLS-1$@b@                "OUTFILE", //$NON-NLS-1$@b@                "OUTPUT", //$NON-NLS-1$@b@                "OVER", //$NON-NLS-1$@b@                "OVERLAPS", //$NON-NLS-1$@b@                "OVERLAY", //$NON-NLS-1$@b@                "OVERRIDING", // DB2 //$NON-NLS-1$@b@                "OWNER", //$NON-NLS-1$@b@                "PACK_KEYS", //$NON-NLS-1$@b@                "PACKAGE", // DB2 //$NON-NLS-1$@b@                "PAD", //$NON-NLS-1$@b@                "PARAMETER", // DB2 //$NON-NLS-1$@b@                "PARAMETER_MODE", //$NON-NLS-1$@b@                "PARAMETER_NAME", //$NON-NLS-1$@b@                "PARAMETER_ORDINAL_POSITION", //$NON-NLS-1$@b@                "PARAMETER_SPECIFIC_CATALOG", //$NON-NLS-1$@b@                "PARAMETER_SPECIFIC_NAME", //$NON-NLS-1$@b@                "PARAMETER_SPECIFIC_SCHEMA", //$NON-NLS-1$@b@                "PARAMETERS", //$NON-NLS-1$@b@                "PART", // DB2 //$NON-NLS-1$@b@                "PARTIAL", //$NON-NLS-1$@b@                "PARTITION", // DB2 //$NON-NLS-1$@b@                "PASCAL", //$NON-NLS-1$@b@                "PASSWORD", //$NON-NLS-1$@b@                "PATH", // DB2 //$NON-NLS-1$@b@                "PCTFREE", //$NON-NLS-1$@b@                "PERCENT", //$NON-NLS-1$@b@                "PERCENT_RANK", //$NON-NLS-1$@b@                "PERCENTILE_CONT", //$NON-NLS-1$@b@                "PERCENTILE_DISC", //$NON-NLS-1$@b@                "PIECESIZE", // DB2 //$NON-NLS-1$@b@                "PLACING", //$NON-NLS-1$@b@                "PLAN", // DB2 //$NON-NLS-1$@b@                "PLI", //$NON-NLS-1$@b@                "POSITION", // DB2 //$NON-NLS-1$@b@                "POSTFIX", //$NON-NLS-1$@b@                "POWER", //$NON-NLS-1$@b@                "PRECEDING", //$NON-NLS-1$@b@                "PRECISION", // DB2 //$NON-NLS-1$@b@                "PREFIX", //$NON-NLS-1$@b@                "PREORDER", //$NON-NLS-1$@b@                "PREPARE", // DB2 //$NON-NLS-1$@b@                "PREPARED", //$NON-NLS-1$@b@                "PRESERVE", //$NON-NLS-1$@b@                "PRIMARY", // DB2 //$NON-NLS-1$@b@                "PRINT", //$NON-NLS-1$@b@                "PRIOR", //$NON-NLS-1$@b@                "PRIQTY", // DB2 //$NON-NLS-1$@b@                "PRIVILEGES", // DB2 //$NON-NLS-1$@b@                "PROC", //$NON-NLS-1$@b@                "PROCEDURAL", //$NON-NLS-1$@b@                "PROCEDURE", // DB2 //$NON-NLS-1$@b@                "PROCESS", //$NON-NLS-1$@b@                "PROCESSLIST", //$NON-NLS-1$@b@                "PROGRAM", // DB2 //$NON-NLS-1$@b@                "PSID", // DB2 //$NON-NLS-1$@b@                "PUBLIC", //$NON-NLS-1$@b@                "PURGE", //$NON-NLS-1$@b@                "QUERYNO", // DB2 //$NON-NLS-1$@b@                "QUOTE", //$NON-NLS-1$@b@                "RAID0", //$NON-NLS-1$@b@                "RAISERROR", //$NON-NLS-1$@b@                "RANGE", //$NON-NLS-1$@b@                "RANK", //$NON-NLS-1$@b@                "RAW", //$NON-NLS-1$@b@                "READ", // DB2 //$NON-NLS-1$@b@                "READS", // DB2 //$NON-NLS-1$@b@                "READTEXT", //$NON-NLS-1$@b@                "REAL", //$NON-NLS-1$@b@                "RECHECK", //$NON-NLS-1$@b@                "RECONFIGURE", //$NON-NLS-1$@b@                "RECOVERY", // DB2 //$NON-NLS-1$@b@                "RECURSIVE", //$NON-NLS-1$@b@                "REF", //$NON-NLS-1$@b@                "REFERENCES", // DB2 //$NON-NLS-1$@b@                "REFERENCING", // DB2 //$NON-NLS-1$@b@                "REGEXP", //$NON-NLS-1$@b@                "REGR_AVGX", //$NON-NLS-1$@b@                "REGR_AVGY", //$NON-NLS-1$@b@                "REGR_COUNT", //$NON-NLS-1$@b@                "REGR_INTERCEPT", //$NON-NLS-1$@b@                "REGR_R2", //$NON-NLS-1$@b@                "REGR_SLOPE", //$NON-NLS-1$@b@                "REGR_SXX", //$NON-NLS-1$@b@                "REGR_SXY", //$NON-NLS-1$@b@                "REGR_SYY", //$NON-NLS-1$@b@                "REINDEX", //$NON-NLS-1$@b@                "RELATIVE", //$NON-NLS-1$@b@                "RELEASE", // DB2 //$NON-NLS-1$@b@                "RELOAD", //$NON-NLS-1$@b@                "RENAME", // DB2 //$NON-NLS-1$@b@                "REPEAT", // DB2 //$NON-NLS-1$@b@                "REPEATABLE", //$NON-NLS-1$@b@                "REPLACE", //$NON-NLS-1$@b@                "REPLICATION", //$NON-NLS-1$@b@                "REQUIRE", //$NON-NLS-1$@b@                "RESET", // DB2 //$NON-NLS-1$@b@                "RESIGNAL", // DB2 //$NON-NLS-1$@b@                "RESOURCE", //$NON-NLS-1$@b@                "RESTART", // DB2 //$NON-NLS-1$@b@                "RESTORE", //$NON-NLS-1$@b@                "RESTRICT", // DB2 //$NON-NLS-1$@b@                "RESULT", // DB2 //$NON-NLS-1$@b@                "RESULT_SET_LOCATOR", // DB2 //$NON-NLS-1$@b@                "RETURN", // DB2 //$NON-NLS-1$@b@                "RETURNED_CARDINALITY", //$NON-NLS-1$@b@                "RETURNED_LENGTH", //$NON-NLS-1$@b@                "RETURNED_OCTET_LENGTH", //$NON-NLS-1$@b@                "RETURNED_SQLSTATE", //$NON-NLS-1$@b@                "RETURNS", // DB2 //$NON-NLS-1$@b@                "REVOKE", // DB2 //$NON-NLS-1$@b@                "RIGHT", // DB2 //$NON-NLS-1$@b@                "RLIKE", //$NON-NLS-1$@b@                "ROLE", //$NON-NLS-1$@b@                "ROLLBACK", // DB2 //$NON-NLS-1$@b@                "ROLLUP", //$NON-NLS-1$@b@                "ROUTINE", // DB2 //$NON-NLS-1$@b@                "ROUTINE_CATALOG", //$NON-NLS-1$@b@                "ROUTINE_NAME", //$NON-NLS-1$@b@                "ROUTINE_SCHEMA", //$NON-NLS-1$@b@                "ROW", // DB2 //$NON-NLS-1$@b@                "ROW_COUNT", //$NON-NLS-1$@b@                "ROW_NUMBER", //$NON-NLS-1$@b@                "ROWCOUNT", //$NON-NLS-1$@b@                "ROWGUIDCOL", //$NON-NLS-1$@b@                "ROWID", //$NON-NLS-1$@b@                "ROWNUM", //$NON-NLS-1$@b@                "ROWS", // DB2 //$NON-NLS-1$@b@                "RRN", // DB2 //$NON-NLS-1$@b@                "RULE", //$NON-NLS-1$@b@                "RUN", // DB2 //$NON-NLS-1$@b@                "SAVE", //$NON-NLS-1$@b@                "SAVEPOINT", // DB2 //$NON-NLS-1$@b@                "SCALE", //$NON-NLS-1$@b@                "SCHEMA", // DB2 //$NON-NLS-1$@b@                "SCHEMA_NAME", //$NON-NLS-1$@b@                "SCHEMAS", //$NON-NLS-1$@b@                "SCOPE", //$NON-NLS-1$@b@                "SCOPE_CATALOG", //$NON-NLS-1$@b@                "SCOPE_NAME", //$NON-NLS-1$@b@                "SCOPE_SCHEMA", //$NON-NLS-1$@b@                "SCRATCHPAD", // DB2 //$NON-NLS-1$@b@                "SCROLL", //$NON-NLS-1$@b@                "SEARCH", //$NON-NLS-1$@b@                "SECOND", // DB2 //$NON-NLS-1$@b@                "SECOND_MICROSECOND", //$NON-NLS-1$@b@                "SECONDS", // DB2 //$NON-NLS-1$@b@                "SECQTY", // DB2 //$NON-NLS-1$@b@                "SECTION", //$NON-NLS-1$@b@                "SECURITY", // DB2 //$NON-NLS-1$@b@                "SELECT", // DB2 //$NON-NLS-1$@b@                "SELF", //$NON-NLS-1$@b@                "SENSITIVE", // DB2 //$NON-NLS-1$@b@                "SEPARATOR", //$NON-NLS-1$@b@                "SEQUENCE", //$NON-NLS-1$@b@                "SERIALIZABLE", //$NON-NLS-1$@b@                "SERVER_NAME", //$NON-NLS-1$@b@                "SESSION", //$NON-NLS-1$@b@                "SESSION_USER", //$NON-NLS-1$@b@                "SET", // DB2 //$NON-NLS-1$@b@                "SETOF", //$NON-NLS-1$@b@                "SETS", //$NON-NLS-1$@b@                "SETUSER", //$NON-NLS-1$@b@                "SHARE", //$NON-NLS-1$@b@                "SHOW", //$NON-NLS-1$@b@                "SHUTDOWN", //$NON-NLS-1$@b@                "SIGNAL", // DB2 //$NON-NLS-1$@b@                "SIMILAR", //$NON-NLS-1$@b@                "SIMPLE", // DB2 //$NON-NLS-1$@b@                "SIZE", //$NON-NLS-1$@b@                "SMALLINT", //$NON-NLS-1$@b@                "SOME", // DB2 //$NON-NLS-1$@b@                "SONAME", //$NON-NLS-1$@b@                "SOURCE", // DB2 //$NON-NLS-1$@b@                "SPACE", //$NON-NLS-1$@b@                "SPATIAL", //$NON-NLS-1$@b@                "SPECIFIC", // DB2 //$NON-NLS-1$@b@                "SPECIFIC_NAME", //$NON-NLS-1$@b@                "SPECIFICTYPE", //$NON-NLS-1$@b@                "SQL", // DB2 //$NON-NLS-1$@b@                "SQL_BIG_RESULT", //$NON-NLS-1$@b@                "SQL_BIG_SELECTS", //$NON-NLS-1$@b@                "SQL_BIG_TABLES", //$NON-NLS-1$@b@                "SQL_CALC_FOUND_ROWS", //$NON-NLS-1$@b@                "SQL_LOG_OFF", //$NON-NLS-1$@b@                "SQL_LOG_UPDATE", //$NON-NLS-1$@b@                "SQL_LOW_PRIORITY_UPDATES", //$NON-NLS-1$@b@                "SQL_SELECT_LIMIT", //$NON-NLS-1$@b@                "SQL_SMALL_RESULT", //$NON-NLS-1$@b@                "SQL_WARNINGS", //$NON-NLS-1$@b@                "SQLCA", //$NON-NLS-1$@b@                "SQLCODE", //$NON-NLS-1$@b@                "SQLERROR", //$NON-NLS-1$@b@                "SQLEXCEPTION", //$NON-NLS-1$@b@                "SQLID", // DB2 //$NON-NLS-1$@b@                "SQLSTATE", //$NON-NLS-1$@b@                "SQLWARNING", //$NON-NLS-1$@b@                "SQRT", //$NON-NLS-1$@b@                "SSL", //$NON-NLS-1$@b@                "STABLE", //$NON-NLS-1$@b@                "STANDARD", // DB2 //$NON-NLS-1$@b@                "START", // DB2 //$NON-NLS-1$@b@                "STARTING", //$NON-NLS-1$@b@                "STATE", //$NON-NLS-1$@b@                "STATEMENT", //$NON-NLS-1$@b@                "STATIC", // DB2 //$NON-NLS-1$@b@                "STATISTICS", //$NON-NLS-1$@b@                "STATUS", //$NON-NLS-1$@b@                "STAY", // DB2 //$NON-NLS-1$@b@                "STDDEV_POP", //$NON-NLS-1$@b@                "STDDEV_SAMP", //$NON-NLS-1$@b@                "STDIN", //$NON-NLS-1$@b@                "STDOUT", //$NON-NLS-1$@b@                "STOGROUP", // DB2 //$NON-NLS-1$@b@                "STORAGE", //$NON-NLS-1$@b@                "STORES", // DB2 //$NON-NLS-1$@b@                "STRAIGHT_JOIN", //$NON-NLS-1$@b@                "STRICT", //$NON-NLS-1$@b@                "STRING", //$NON-NLS-1$@b@                "STRUCTURE", //$NON-NLS-1$@b@                "STYLE", // DB2 //$NON-NLS-1$@b@                "SUBCLASS_ORIGIN", //$NON-NLS-1$@b@                "SUBLIST", //$NON-NLS-1$@b@                "SUBMULTISET", //$NON-NLS-1$@b@                "SUBPAGES", // DB2 //$NON-NLS-1$@b@                "SUBSTRING", // DB2 //$NON-NLS-1$@b@                "SUCCESSFUL", //$NON-NLS-1$@b@                "SUM", //$NON-NLS-1$@b@                "SUPERUSER", //$NON-NLS-1$@b@                "SYMMETRIC", //$NON-NLS-1$@b@                "SYNONYM", // DB2 //$NON-NLS-1$@b@                "SYSDATE", //$NON-NLS-1$@b@                "SYSFUN", // DB2 //$NON-NLS-1$@b@                "SYSIBM", // DB2 //$NON-NLS-1$@b@                "SYSID", //$NON-NLS-1$@b@                "SYSPROC", // DB2 //$NON-NLS-1$@b@                "SYSTEM", // DB2 //$NON-NLS-1$@b@                "SYSTEM_USER", //$NON-NLS-1$@b@                "TABLE", // DB2 //$NON-NLS-1$@b@                "TABLE_NAME", //$NON-NLS-1$@b@                "TABLES", //$NON-NLS-1$@b@                "TABLESAMPLE", //$NON-NLS-1$@b@                "TABLESPACE", // DB2 //$NON-NLS-1$@b@                "TEMP", //$NON-NLS-1$@b@                "TEMPLATE", //$NON-NLS-1$@b@                "TEMPORARY", //$NON-NLS-1$@b@                "TERMINATE", //$NON-NLS-1$@b@                "TERMINATED", //$NON-NLS-1$@b@                "TEXT", //$NON-NLS-1$@b@                "TEXTSIZE", //$NON-NLS-1$@b@                "THAN", //$NON-NLS-1$@b@                "THEN", // DB2 //$NON-NLS-1$@b@                "TIES", //$NON-NLS-1$@b@                "TIME", //$NON-NLS-1$@b@                "TIMESTAMP", //$NON-NLS-1$@b@                "TIMEZONE_HOUR", //$NON-NLS-1$@b@                "TIMEZONE_MINUTE", //$NON-NLS-1$@b@                "TINYBLOB", //$NON-NLS-1$@b@                "TINYINT", //$NON-NLS-1$@b@                "TINYTEXT", //$NON-NLS-1$@b@                "TO", // DB2 //$NON-NLS-1$@b@                "TOAST", //$NON-NLS-1$@b@                "TOP", //$NON-NLS-1$@b@                "TOP_LEVEL_COUNT", //$NON-NLS-1$@b@                "TRAILING", //$NON-NLS-1$@b@                "TRAN", //$NON-NLS-1$@b@                "TRANSACTION", // DB2 //$NON-NLS-1$@b@                "TRANSACTION_ACTIVE", //$NON-NLS-1$@b@                "TRANSACTIONS_COMMITTED", //$NON-NLS-1$@b@                "TRANSACTIONS_ROLLED_BACK", //$NON-NLS-1$@b@                "TRANSFORM", //$NON-NLS-1$@b@                "TRANSFORMS", //$NON-NLS-1$@b@                "TRANSLATE", //$NON-NLS-1$@b@                "TRANSLATION", //$NON-NLS-1$@b@                "TREAT", //$NON-NLS-1$@b@                "TRIGGER", // DB2 //$NON-NLS-1$@b@                "TRIGGER_CATALOG", //$NON-NLS-1$@b@                "TRIGGER_NAME", //$NON-NLS-1$@b@                "TRIGGER_SCHEMA", //$NON-NLS-1$@b@                "TRIM", // DB2 //$NON-NLS-1$@b@                "TRUE", //$NON-NLS-1$@b@                "TRUNCATE", //$NON-NLS-1$@b@                "TRUSTED", //$NON-NLS-1$@b@                "TSEQUAL", //$NON-NLS-1$@b@                "TYPE", // DB2 //$NON-NLS-1$@b@                "UESCAPE", //$NON-NLS-1$@b@                "UID", //$NON-NLS-1$@b@                "UNBOUNDED", //$NON-NLS-1$@b@                "UNCOMMITTED", //$NON-NLS-1$@b@                "UNDER", //$NON-NLS-1$@b@                "UNDO", // DB2 //$NON-NLS-1$@b@                "UNENCRYPTED", //$NON-NLS-1$@b@                "UNION", // DB2 //$NON-NLS-1$@b@                "UNIQUE", // DB2 //$NON-NLS-1$@b@                "UNKNOWN", //$NON-NLS-1$@b@                "UNLISTEN", //$NON-NLS-1$@b@                "UNLOCK", //$NON-NLS-1$@b@                "UNNAMED", //$NON-NLS-1$@b@                "UNNEST", //$NON-NLS-1$@b@                "UNSIGNED", //$NON-NLS-1$@b@                "UNTIL", // DB2 //$NON-NLS-1$@b@                "UPDATE", // DB2 //$NON-NLS-1$@b@                "UPDATETEXT", //$NON-NLS-1$@b@                "UPPER", //$NON-NLS-1$@b@                "USAGE", // DB2 //$NON-NLS-1$@b@                "USE", //$NON-NLS-1$@b@                "USER", // DB2 //$NON-NLS-1$@b@                "USER_DEFINED_TYPE_CATALOG", //$NON-NLS-1$@b@                "USER_DEFINED_TYPE_CODE", //$NON-NLS-1$@b@                "USER_DEFINED_TYPE_NAME", //$NON-NLS-1$@b@                "USER_DEFINED_TYPE_SCHEMA", //$NON-NLS-1$@b@                "USING", // DB2 //$NON-NLS-1$@b@                "UTC_DATE", //$NON-NLS-1$@b@                "UTC_TIME", //$NON-NLS-1$@b@                "UTC_TIMESTAMP", //$NON-NLS-1$@b@                "VACUUM", //$NON-NLS-1$@b@                "VALID", //$NON-NLS-1$@b@                "VALIDATE", //$NON-NLS-1$@b@                "VALIDATOR", //$NON-NLS-1$@b@                "VALIDPROC", // DB2 //$NON-NLS-1$@b@                "VALUE", //$NON-NLS-1$@b@                "VALUES", // DB2 //$NON-NLS-1$@b@                "VAR_POP", //$NON-NLS-1$@b@                "VAR_SAMP", //$NON-NLS-1$@b@                "VARBINARY", //$NON-NLS-1$@b@                "VARCHAR", //$NON-NLS-1$@b@                "VARCHAR2", //$NON-NLS-1$@b@                "VARCHARACTER", //$NON-NLS-1$@b@                "VARIABLE", // DB2 //$NON-NLS-1$@b@                "VARIABLES", //$NON-NLS-1$@b@                "VARIANT", // DB2 //$NON-NLS-1$@b@                "VARYING", //$NON-NLS-1$@b@                "VCAT", // DB2 //$NON-NLS-1$@b@                "VERBOSE", //$NON-NLS-1$@b@                "VIEW", // DB2 //$NON-NLS-1$@b@                "VOLATILE", //$NON-NLS-1$@b@                "VOLUMES", // DB2 //$NON-NLS-1$@b@                "WAITFOR", //$NON-NLS-1$@b@                "WHEN", // DB2 //$NON-NLS-1$@b@                "WHENEVER", //$NON-NLS-1$@b@                "WHERE", // DB2 //$NON-NLS-1$@b@                "WHILE", // DB2 //$NON-NLS-1$@b@                "WIDTH_BUCKET", //$NON-NLS-1$@b@                "WINDOW", //$NON-NLS-1$@b@                "WITH", // DB2 //$NON-NLS-1$@b@                "WITHIN", //$NON-NLS-1$@b@                "WITHOUT", //$NON-NLS-1$@b@                "WLM", // DB2 //$NON-NLS-1$@b@                "WORK", //$NON-NLS-1$@b@                "WRITE", // DB2 //$NON-NLS-1$@b@                "WRITETEXT", //$NON-NLS-1$@b@                "X509", //$NON-NLS-1$@b@                "XOR", //$NON-NLS-1$@b@                "YEAR", // DB2 //$NON-NLS-1$@b@                "YEAR_MONTH", //$NON-NLS-1$@b@                "YEARS", // DB2 //$NON-NLS-1$@b@                "ZEROFILL", //$NON-NLS-1$@b@                "ZONE" //$NON-NLS-1$@b@        };@b@@b@        RESERVED_WORDS = new HashSet<String>(words.length);@b@@b@        for (String word : words) {@b@            RESERVED_WORDS.add(word);@b@        }@b@    }@b@@b@    /**@b@     * Utility class - no instances allowed.@b@     */@b@    private SqlReservedWords() {@b@    }@b@@b@    public static boolean containsWord(String word) {@b@        boolean rc;@b@@b@        if (word == null) {@b@            rc = false;@b@        } else {@b@            rc = RESERVED_WORDS.contains(word.toUpperCase());@b@        }@b@@b@        return rc;@b@    }@b@    @b@}
<<热门下载>>