SQL里怎么用Like搜时间字段

如题所述

先把日期转换成字符串
select * from test1
where to_char(age) like '%2017-01-16%'
温馨提示:答案为网友推荐,仅供参考
相似回答