Oracle处理日期时间
程序员文章站
2024-01-26 08:23:40
...
where contdate=to_char(to_date(20130220,'yyyyMMdd'),'yyyyMMdd') //hhmmss HH:MMSS 式可以自己定义 conttime between to_char(to_date(#startTime#,'hhmiss'),'hhmiss') and to_char(to_date(#endTime#,'hhmiss'),'hhmiss')
where contdate=to_char(to_date(20130220,'yyyyMMdd'),'yyyyMMdd')
//hhmmss HH:MMSS 格式可以自己定义
conttime between to_char(to_date(#startTime#,'hhmiss'),'hhmiss') and to_char(to_date(#endTime#,'hhmiss'),'hhmiss')