oracle 字段 timestamp类型转为date类型 查询的数据是timetamp类型的,转为好看些的日期格式 to_date(to_char(timetamp类型字段,‘yyyy-mm-dd hh24:mi:ss’),‘yyyy-mm-dd hh24:mi:ss’) 原查询效果 修改后效果