日期範圍查詢 oracle

查詢2011-05-02到2011-05-30之間的數據table 有如下方式date 1、to_date方式:select select * from tablename where time>= to_date('2011-05-02','yyyy-mm-dd')  and  time<=to_date('2011-05-30','yyyy-mm-dd')im 運行的結果是:能夠顯示05-02
相關文章
相關標籤/搜索