/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2017 abel533@gmail.com
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package tk.mybatis.mapper.util;
import java.util.HashSet;
import java.util.Set;
/**
* This class contains a somewhat comprehensive list of SQL reserved words.
* Since different databases have different reserved words, this list is
* inclusive of many different databases - so it may include words that are not
* reserved in some databases.
*
* <p>This list is based on the list from Drupal Handbook:
* http://drupal.org/node/141051 With additions for DB2
*
* @author Jeff Butler
*/
public class SqlReservedWords {
private static Set<String> RESERVED_WORDS;
static {
String[] words = {"A", //$NON-NLS-1$
"ABORT", //$NON-NLS-1$
"ABS", //$NON-NLS-1$
"ABSOLUTE", //$NON-NLS-1$
"ACCESS", //$NON-NLS-1$
"ACTION", //$NON-NLS-1$
"ADA", //$NON-NLS-1$
"ADD", // DB2 //$NON-NLS-1$
"ADMIN", //$NON-NLS-1$
"AFTER", // DB2 //$NON-NLS-1$
"AGGREGATE", //$NON-NLS-1$
"ALIAS", // DB2 //$NON-NLS-1$
"ALL", // DB2 //$NON-NLS-1$
"ALLOCATE", // DB2 //$NON-NLS-1$
"ALLOW", // DB2 //$NON-NLS-1$
"ALSO", //$NON-NLS-1$
"ALTER", // DB2 //$NON-NLS-1$
"ALWAYS", //$NON-NLS-1$
"ANALYSE", //$NON-NLS-1$
"ANALYZE", //$NON-NLS-1$
"AND", // DB2 //$NON-NLS-1$
"ANY", // DB2 //$NON-NLS-1$
"APPLICATION", // DB2 //$NON-NLS-1$
"ARE", //$NON-NLS-1$
"ARRAY", //$NON-NLS-1$
"AS", // DB2 //$NON-NLS-1$
"ASC", //$NON-NLS-1$
"ASENSITIVE", //$NON-NLS-1$
"ASSERTION", //$NON-NLS-1$
"ASSIGNMENT", //$NON-NLS-1$
"ASSOCIATE", // DB2 //$NON-NLS-1$
"ASUTIME", // DB2 //$NON-NLS-1$
"ASYMMETRIC", //$NON-NLS-1$
"AT", //$NON-NLS-1$
"ATOMIC", //$NON-NLS-1$
"ATTRIBUTE", //$NON-NLS-1$
"ATTRIBUTES", //$NON-NLS-1$
"AUDIT", // DB2 //$NON-NLS-1$
"AUTHORIZATION", // DB2 //$NON-NLS-1$
"AUTO_INCREMENT", //$NON-NLS-1$
"AUX", // DB2 //$NON-NLS-1$
"AUXILIARY", // DB2 //$NON-NLS-1$
"AVG", //$NON-NLS-1$
"AVG_ROW_LENGTH", //$NON-NLS-1$
"BACKUP", //$NON-NLS-1$
"BACKWARD", //$NON-NLS-1$
"BEFORE", // DB2 //$NON-NLS-1$
"BEGIN", // DB2 //$NON-NLS-1$
"BERNOULLI", //$NON-NLS-1$
"BETWEEN", // DB2 //$NON-NLS-1$
"BIGINT", //$NON-NLS-1$
"BINARY", // DB2 //$NON-NLS-1$
"BIT", //$NON-NLS-1$
"BIT_LENGTH", //$NON-NLS-1$
"BITVAR", //$NON-NLS-1$
"BLOB", //$NON-NLS-1$
"BOOL", //$NON-NLS-1$
"BOOLEAN", //$NON-NLS-1$
"BOTH", //$NON-NLS-1$
"BREADTH", //$NON-NLS-1$
"BREAK", //$NON-NLS-1$
"BROWSE", //$NON-NLS-1$
"BUFFERPOOL", // DB2 //$NON-NLS-1$
"BULK", //$NON-NLS-1$
"BY", // DB2 //$NON-NLS-1$
"C", //$NON-NLS-1$
"CACHE", // DB2 //$NON-NLS-1$
"CALL", // DB2 //$NON-NLS-1$
"CALLED", // DB2 //$NON-NLS-1$
"CAPTURE", // DB2 //$NON-NLS-1$
"CARDINALITY", // DB2 //$NON-NLS-1$
"CASCADE", //$NON-NLS-1$
"CASCADED", // DB2 //$NON-NLS-1$
"CASE", // DB2 //$NON-NLS-1$
"CAST", // DB2 //$NON-NLS-1$
"CATALOG", //$NON-NLS-1$
"CATALOG_NAME", //$NON-NLS-1$
"CCSID", // DB2 //$NON-NLS-1$
"CEIL", //$NON-NLS-1$
"CEILING", //$NON-NLS-1$
"CHAIN", //$NON-NLS-1$
"CHANGE", //$NON-NLS-1$
"CHAR", // DB2 //$NON-NLS-1$
"CHAR_LENGTH", //$NON-NLS-1$
"CHARACTER", // DB2 //$NON-NLS-1$
"CHARACTER_LENGTH", //$NON-NLS-1$
"CHARACTER_SET_CATALOG", //$NON-NLS-1$
"CHARACTER_SET_NAME", //$NON-NLS-1$
"CHARACTER_SET_SCHEMA", //$NON-NLS-1$
"CHARACTERISTICS", //$NON-NLS-1$
"CHARACTERS", //$NON-NLS-1$
"CHECK", // DB2 //$NON-NLS-1$
"CHECKED", //$NON-NLS-1$
"CHECKPOINT", //$NON-NLS-1$
"CHECKSUM", //$NON-NLS-1$
"CLASS", //$NON-NLS-1$
"CLASS_ORIGIN", //$NON-NLS-1$
"CLOB", //$NON-NLS-1$
"CLOSE", // DB2 //$NON-NLS-1$
"CLUSTER", // DB2 //$NON-NLS-1$
"CLUSTERED", //$NON-NLS-1$
"COALESCE", //$NON-NLS-1$
"COBOL", //$NON-NLS-1$
"COLLATE", //$NON-NLS-1$
"COLLATION", //$NON-NLS-1$
"COLLATION_CATALOG", //$NON-NLS-1$
"COLLATION_NAME", //$NON-NLS-1$
"COLLATION_SCHEMA", //$NON-NLS-1$
"COLLECT", //$NON-NLS-1$
"COLLECTION", // DB2 //$NON-NLS-1$
"COLLID", // DB2 //$NON-NLS-1$
"COLUMN", // DB2 //$NON-NLS-1$
"COLUMN_NAME", //$NON-NLS-1$
"COLUMNS", //$NON-NLS-1$
"COMMAND_FUNCTION", //$NON-NLS-1$
"COMMAND_FUNCTION_CODE", //$NON-NLS-1$
"COMMENT", // DB2 //$NON-NLS-1$
"COMMIT", // DB2 //$NON-NLS-1$
"COMMITTED", //$NON-NLS-1$
"COMPLETION", //$NON-NLS-1$
"COMPRESS", //$NON-NLS-1$
"COMPUTE", //$NON-NLS-1$
"CONCAT", // DB2 //$NON-NLS-1$
"CONDITION", // DB2 //$NON-NLS-1$
"CONDITION_NUMBER", //$NON-NLS-1$
"CONNECT", // DB2 //$NON-NLS-1$
"CONNECTION", // DB2 //$NON-NLS-1$
"CONNECTION_NAME", //$NON-NLS-1$
"CONSTRAINT", // DB2 //$NON-NLS-1$
"CONSTRAINT_CATALOG", //$NON-NLS-1$
"CONSTRAINT_NAME", //$NON-NLS-1$
"CONSTRAINT_SCHEMA", //$NON-NLS-1$
"CONSTRAINTS", //$NON-NLS-1$
"CONSTRUCTOR", //$NON-NLS-1$
"CONTAINS", // DB2 //$NON-NLS-1$
"CONTAINSTABLE", //$NON-NLS-1$
"CONTINUE", // DB2 //$NON-NLS-1$
"CONVERSION", //$NON-NLS-1$
"CONVERT", //$NON-NLS-1$
"COPY", //$NON-NLS-1$
"CORR", //$NON-NLS-1$
心跃程序
- 粉丝: 2092
- 资源: 92
最新资源
- 有刷电机闭环控制程序,采用强磁阻AB编码器 速度和位置闭环 可提供全套硬件资料(可直接打板生产的) 软件和教程资料
- MATLAB代码:计及电转气协同的含碳捕集与垃圾焚烧电厂优化调度 关键词:碳捕集 电厂 需求响应 优化调度 电转气协同调度 参考文档:《计及电转气协同的含碳捕集与垃圾焚烧电厂优化调度》完全复现
- 自动驾驶控制-纯跟踪算法路径跟踪仿真 matlab和carsim联合仿真搭建的无人驾驶纯跟踪控制器仿真验证,可以实现双移线,圆形,以及其他自定义的路径跟踪 跟踪效果如图,几乎没有误差,跟踪误差在0
- 红外遥控器 proteus仿真 51单片机 c语言 红外遥控器按下相应的键,对应的LED熄灭或点亮,LCD显示当前LED状态 主控 at89c52 1602模块 按键模块 含程序代码、仿真文件、演示
- SIEMENS 西门子西门子水处理程序 包含:1200Plc程序,通讯点表,CAD原理图,操作说明 触摸屏包含:组态画面,操作画面,参数设置画面,报警记录等 程序结构严谨,画面简洁,项目完整,有
- 基于动态规划的混合动力汽车能量管理策略 动态规划是一种全局优化算法,它基于贝尔曼原理,可以得到全局最优解 本代码将动态规划算法应用于混合动力汽车能量管理问题,从而得到发动机发电机组与电池之间最优的功
- PLECS光伏扰动观察法MPPT仿真,附带自搭光伏电池模型,可更改光照,温度和最大功率点参数 MPPT控制部分使用C语言编写(模块搭建也有),占空比扰动,电压扰动,电流扰动
- 松下FP-XH多工位装配机项目实际程序案例,程序分模块编程,一共11工位,轴控采用FB功能块 这个程序用来做在多工位直线,转盘类应用的项目模板非常合适,直接套用,增加或删减工位即可 套用非常灵活,有
- BLDC直流无刷电机FOC控制 在Matlab Simulink中实现了无刷直流电机的磁场定向控制FOC,整个FOC架构包括: 1、估计:根据霍尔传感器信号估计转子位置、角度和电机速度; 2、诊断:执
- 三层立体车库plc s7-1200 博图15.1 1、设置启动、停止按钮,且设置指示灯显示车库的开关状态; 2、7个车位的车俩可以自由存取,且车库可以实现自动存取(存取选择最优路径); 3、每个
- 基于麻雀搜索算法(SSA)的三维旅行商问题,三维TSP问题 如果觉得蚁群算法太老了,那么麻雀算法解决三维TSP问题就相对新颖一些了 标记出城市坐标的三维节点,起始点 如果您改进出麻雀算法
- 脑机接口,运动想象源码实验复现 数据集+python源码 基于tensorflow 的EEG-TCNet 源码lunwen 在本文中,提出了EEG-TCNET,一种新的时间卷积网络(TCN),它在
- 基于fpga实现的基于暗通道先验的实时去雾算法,数据可以从摄像头输入,并在rgb屏幕上输出 有完整的仿真文件 可接硬件实现 有课程lunwen,ppt文件可以供参考
- 无人机VESC7500,低压伺服keil源码,可以无感,霍尔单馈,正余弦,ABZ等多种反馈信号,是用非线性磁链观测器,高频注入等多种算法于一身,上位机源码,原理图 没有PCB 最大电流300A,是学
- 七自由度车辆动力学模型 dugoff轮胎模型 车身平民三自由度+四个车轮滚动自由度 simulink模型+示意图公式说明文档
- dsp28335串口升级程序,包通过,已经在实践中验证,代码注释详细 不需要更改boot模式,直接用串口升级,可修改任意波特率及串口
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈