标签:类型 where 日期类型 cse 字符串转换 to_date end har 转换
select * from csend where credttm > to_date(‘2018-06-11‘,‘yyyy-mm-dd‘);
select * from csend where to_char(credttm,‘yyyy-mm-dd‘)>‘2018-06-25‘
结论:to char 是把日期或数字转换为字符串
to date 是把字符串转换为数据库中得日期类型
标签:类型 where 日期类型 cse 字符串转换 to_date end har 转换
原文地址:https://www.cnblogs.com/wulihong/p/9397532.html