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)

posted @ 2020-01-15 16:18  所向披靡zz  阅读(121)  评论(0编辑  收藏  举报