摘要: mysql日期和字符相互转换方法 date_format(date,'%Y-%m-%d') >oracle中的to_char(); str_to_date(date,'%Y-%m-%d') >oracle中的to_date(); %Y:代表4位的年份 %y:代表2为的年份 %m:代表月, 格式为(0 阅读全文
posted @ 2017-12-20 09:54 孤独小猫 阅读(118) 评论(0) 推荐(0)