mysql 日期转换函数

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/wulai5/article/details/86626730

mysql日期和字符相互转换方法
  date_format(date,'%Y-%m-%d') -------------->oracle中的to_char();
  str_to_date(date,'%Y-%m-%d') -------------->oracle中的to_date();

猜你喜欢

转载自blog.csdn.net/wulai5/article/details/86626730