您的位置:首页 > 数据库 > Oracle

oracle 查询大于某个时间的记录

2016-11-04 16:48 190 查看
使用to_date

select * from tab_dc t where begintime > to_date('2011-8-22 8:00:00','yyyy-mm-dd hh24:mi:ss') and  begintime < to_date('2011-8-22 12:30:00','yyyy-mm-dd hh24:mi:ss')
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: