oracle date类型长度 oracle里的date类型怎么查询?
oracle里的date类型怎么查询?可转换为字符查询:select*from tabxxx where to Char(dtcol,“yyyy MM DD”)=“2017-10-24”也可按日期查询
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”)