oracle里的date类型怎么查询?
可以转换成字符查询:
select * from tabxxx where to_char(dtcol,'yyyy-mm-dd') = '2017-10-24'
也可以用日期查询:
select * from tabxxx where dtcol >= sysdate -1;
select * from tabxxx where dtcol >= to_date('2017-10-13 18:00:00','yyyy-mm-dd hh24:mi:ss');