Mega Code Archive

 
Categories / MySQL Tutorial / Date Time Functions
 

SELECT DATE_ADD(1997-12-31 23

mysql> mysql> SELECT DATE_ADD('1997-12-31 23:59:59', '1:1' MINUTE_SECOND); 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:1' MINUTE_SECOND)' at line 1 mysql>