时间列为t1,筛选时间条件,形式为年月日时分秒,在数据集中sql怎么写,oracle数据库
就正常写 字段 = '${rq}'
SqlServer?oracle?mysql?
帆软:时间参数为timeStar,timeEnd
select * from 表 where 1=1
$if(len(timeStar) == 0,"","and t1 > '"+timeStar+"'")
$if(len(timeEnd) == 0,"","and t1 < '"+timeEnd+"'")