KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > calipso > reportgenerator > reportcalculator > BasicSQLConstants


1 package com.calipso.reportgenerator.reportcalculator;
2
3 /**
4  * Calipso Software
5  * User: jbassino
6  * Date: 12-may-2006
7  * Time: 9:13:53
8  */

9 public interface BasicSQLConstants {
10
11   //basicas de sql
12
public static final String JavaDoc SELECT = "SELECT ";
13   public static final String JavaDoc FROM = " FROM ";
14   public static final String JavaDoc WHERE = " WHERE ";
15   public static final String JavaDoc AND = " AND ";
16   public static final String JavaDoc INSERT_INTO = "INSERT INTO ";
17   public static final String JavaDoc UPDATE = "UPDATE ";
18   public static final String JavaDoc SET = " SET ";
19   public static final String JavaDoc DELETE = "DELETE ";
20   public static final String JavaDoc DROP = "DROP TABLE ";
21   public static final String JavaDoc GROUP_BY = " GROUP BY ";
22
23   //Funciones SQL
24
public static final String JavaDoc SUM = "SUM(";
25   public static final String JavaDoc COUNT_DISTINCT = "COUNT (DISTINCT ";
26   public static final String JavaDoc COUNT = "COUNT(";
27   public static final String JavaDoc MAX = "MAX(";
28   public static final String JavaDoc MIN = "MIN(";
29   
30 }
31
Popular Tags