org.sourceforge.jxdbcon
Class EscapeFuncs.timestampadd
java.lang.Object
|
+--org.sourceforge.jxdbcon.EscapeFrags.Frag
|
+--org.sourceforge.jxdbcon.EscapeFrags.Function
|
+--org.sourceforge.jxdbcon.EscapeFuncs.NoFunction
|
+--org.sourceforge.jxdbcon.EscapeFuncs.timestampadd
- Enclosing class:
- EscapeFuncs
- public static class EscapeFuncs.timestampadd
- extends EscapeFuncs.NoFunction
TIMESTAMPADD(interval, count, timestamp) A timestamp calculated by adding count number of interval(s) to timestamp.
interval may be one of the following: SQL_TSI_FRAC_SECOND, SQL_TSI_SECOND, SQL_TSI_MINUTE, SQL_TSI_HOUR, SQL_TSI_DAY, SQL_TSI_WEEK, SQL_TSI_MONTH, SQL_TSI_QUARTER, or SQL_TSI_YEAR.
EscapeFuncs.timestampadd
public EscapeFuncs.timestampadd(EscapeFrags.ParamList param)
emitSQL
protected String emitSQL(EscapeContext ectx)
throws SQLException
SQLException
toSQL
public String toSQL(EscapeContext ectx)
throws SQLException
- Overrides:
toSQL
in class EscapeFrags.Function
SQLException
Copyright © 2001,2002 Keve Müller; see LICENSE file for details.