随笔分类 - MySql
摘要:【鹏城万里】 发表于 http://www.sqlstudy.com/ 一、MySQL 获得当前日期时间 函数 1.1 获得当前日期+时间(date + time)函数:now() mysql> select now();+---------------------+| now() |+---------------------+| 2008-08-08 22:20:46 |+---------------------+除了 now() 函数能获得当前的日期时间外,MySQL 中还有下面的函数: current_timestamp(),current_time...
阅读全文