1 22 23 package org.xquark.extractor.sql; 24 25 26 public class SfCurrentDateTime extends SqlFunction { 27 28 private static final String RCSRevision = "$Revision: 1.4 $"; 29 private static final String RCSName = "$Name: $"; 30 31 32 public SfCurrentDateTime() 33 { 34 super("SfCurrentDateTime"); 35 } 36 37 public String toSql (Context context) 38 { 39 41 StringBuffer retVal = new StringBuffer (); 42 retVal.append("SYSDATE"); 43 44 return retVal.toString(); 46 } 47 } 48 | Popular Tags |