plsql查詢?nèi)掌诜秶?oracle中查詢時日期時間作為條件,該怎么處理?
oracle中查詢時日期時間作為條件,該怎么處理?select 目標列 from 表名 where 時間列=to_date("時間","yyyy-mm-dd hh24:mi:ss")比如select
oracle中查詢時日期時間作為條件,該怎么處理?
select 目標列 from 表名 where 時間列=to_date("時間","yyyy-mm-dd hh24:mi:ss")
比如
select name from birth_info where
birthday between to_date ("2001-03-05","yyyy-mm-dd")
and
to_date ("2001-03-15","yyyy-mm-dd")