Beispiel #1
0
 protected override string StringifyMaxdatetime(ParamlessFuncSegment segment)
 {
     throw new NotSupportedException(segment.Func);
 }
Beispiel #2
0
 // StartTime ge now()
 protected override string StringifyNow(ParamlessFuncSegment segment)
 {
     return("GETDATE()");
 }
Beispiel #3
0
 // StartTime eq mindatetime()
 protected override string StringifyMindatetime(ParamlessFuncSegment segment)
 {
     return("TO_DATE('-4713-01-01 00:00:00', '-YYYY-MM-DD HH24:MI:SS')");
 }
Beispiel #4
0
 // EndTime eq maxdatetime()
 protected override string StringifyMaxdatetime(ParamlessFuncSegment segment)
 {
     return("TO_DATE('9999-12-31 23:59:59', 'YYYY-MM-DD HH24:MI:SS')");
 }
Beispiel #5
0
 // EndTime eq maxdatetime()
 protected override string StringifyMaxdatetime(ParamlessFuncSegment segment)
 {
     return("str_to_date('9999-12-31 23:59:59.999999','%Y-%m-%d %H:%i:%s.%f')");
 }
Beispiel #6
0
 // StartTime ge now()
 protected override string StringifyNow(ParamlessFuncSegment segment)
 {
     return("current_timestamp()");
 }