select a.*,rowid from online_fill_item a where a.create_date between to_timestamp('2016-1-24 1:00:00 000000','yyyy-MM-dd HH24:mi:ss:ff9') and to_timestamp('2016-1-28 12:59:59 999999','yyyy-MM-dd HH24:mi:ss:ff9');
update fm_sys_resource a set a.resource_id = replace(resource_id,'PortCreditMgtRecordPage','PortCreditMgtReportPage') where a.resource_id like '%PortCreditMgtRecordPage%';
-----------trunc函数返回处理后的数值
trunc函数以指定元素格式截取一部分的日期值 可以用在数字和日期这两种数据类型上
trunc(date,[fmt]) date为必要参数为要截取的日期值,fmt可以忽略
用在数字trunc(number[,decimals]) 如果 decimals为正数表示截取小数点右边的位数
如果为负数 表示截取小数点左边的几位数,其他的位数全部舍去为0.