Mega Code Archive

 
Categories / MySQL Tutorial / Date Time Functions
 

SELECT DATE_ADD(1992-12-31 23

mysql> mysql> SELECT DATE_ADD('1992-12-31 23:59:59.000002', '1.999999' SECOND_MICROSECOND); ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''1.999999' SECOND_MICROSECOND)' at line 1 mysql>