plsql查詢?nèi)掌诜秶?oracle中查詢時(shí)日期時(shí)間作為條件,該怎么處理?
oracle中查詢時(shí)日期時(shí)間作為條件,該怎么處理?select 目標(biāo)列 from 表名 where 時(shí)間列=to_date("時(shí)間","yyyy-mm-dd hh24:mi:ss")比如select
oracle中查詢時(shí)日期時(shí)間作為條件,該怎么處理?
select 目標(biāo)列 from 表名 where 時(shí)間列=to_date("時(shí)間","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")