【发布时间】:2013-06-09 19:49:39
【问题描述】:
我在表中有两列的数据类型均为 varchar2。 现在我想根据输入值获取数据,基于此我的选择查询如下所示:
select fromtime, totime from temp_trd_shr where
fromtime <= '08:00' and totime >='10:00'
从时间:varchar2(50) 时间:varchar2(50) 08:00 & 10:00 : 输入值(在字符串和甲酸盐中总是像 xx:xx 一样固定) 甲骨文11g
我尝试使用 to_number 但我无法做到这一点。
【问题讨论】: