oracle数据库查询条件中的日期问题(10分)

  • 主题发起人 helium-he
  • 开始时间
H

helium-he

Unregistered / Unconfirmed
GUEST, unregistred user!
Oracle数据库中,字段为DATE,<br>用Oracle 的SQL Plus 查询的的数据中(其中rq_cb 为date)<br>HH &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RQ_CB<br>0001747 &nbsp; &nbsp; &nbsp;29-2月-04<br>在SQL Plus 中,查询为:<br>select * from 表 where rq_cb='29-2月-04' 才能查找到<br><br>在query1.Sql中,查询条件要怎么写才能实现:
 
to_date('20040229', 'yyyymmdd')
 
接受答案了.
 
顶部