oracle 基础sql语句

修改date日期时间:

update T2_FOODS_STORAGE_IN set create_time =to_date('2020-01-15 12:30:20','yyyy-mm-dd hh24:mi:ss')

查询15分钟之前删除的表数据:

select * from 表名 as of timestamp to_timestamp(sysdate-15/3600/24)

猜你喜欢

转载自www.cnblogs.com/chong-zuo3322/p/12197331.html