orcale replace

前期设计不合理,代码维护特蛋疼;

select * from t_applyfor_card ac where to_date(replace(replace(replace(ac.createcadedate,'年','-'),'月','-'),'日',''),'yyyy-MM-dd') > to_date('2014-01-01','yyyy-MM-dd');



你可能感兴趣的:(orcale replace)