to_date(e.notice_date,'yyyy-mm-dd')是把字符串形式转换成日期形式
to_char(e.notice_date,'yyyy-mm-dd')是把日期时间形式转换成字符串
to_date(e.notice_date,yyyyMMdd 24hhmi : ss')就可以了
to_char(e.notice_date,'yyyy-mm-dd')是把日期时间形式转换成字符串
to_date(e.notice_date,yyyyMMdd 24hhmi : ss')就可以了
to_date(e.notice_date,'yyyy/mm/dd hh24:mi:ss')
to_char是转成字符串型
to_char是转换成字符型函数
to_date(e.notice_date,'yyyy/mm/dd hh24:mi:ss')