/* * Copyright (C) 2004 Anthony Smith * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * ---------------------------------------------------------------------------- * TITLE $Id$ * --------------------------------------------------------------------------- * * --------------------------------------------------------------------------*/ package opendbcopy.sql; /** * class description * * @author Anthony Smith * @version $Revision$ */ public final class SQL { public static final String SELECT = "select "; public static final String SELECT_COUNT = "select count"; public static final String SELECT_MAX = "select max"; public static final String INSERT_INTO = "insert into "; public static final String UPDATE = "update "; public static final String DELETE = "delete "; public static final String SET = " set "; public static final String VALUES = " values "; public static final String FROM = " from "; public static final String WHERE = " where "; public static final String AND = " and "; public static final String OR = " or "; public static final String LPAREN = "("; public static final String RPAREN = ")"; public static final String COMMA = ","; public static final String PERCENT = "%"; public static final String UNDERLINE = "_"; public static final String SPACE = " "; public static final String QUOTE = "'"; public static final String QUOTE_LEFT = "`"; public static final String EQ = "="; public static final String LIKE = " like "; public static final String NOT_LIKE = " not like "; public static final String ORDERBY = " order by "; public static final String GROUPBY = " group by "; public static final String NULL = "null"; }