数据库用日期作为条件来查询数据

select * from bs_child_baseinfo t WHERE to_char(birthday,'yyyymmdd')='20180313'

 

posted @ 2019-07-30 11:02  白玉神驹  阅读(1050)  评论(0编辑  收藏  举报