oracle 中不帶時分秒的字符串 to_date 轉換時間後與帶時分秒的date型字段做帶等值的比較 (>=
表中huhai_seq_value所有數據
MYDATE
select hsv
where hsv
sql
MYDATE
select hsv
where to_char(hsv
sql查詢結果
MYDATE
結論
用between比較兩個時間
例
select * from tbl_name where issue_time between to_date(
From:http://tw.wingwit.com/Article/program/Oracle/201311/18019.html