Mega Code Archive

 
Categories / MySQL / Date Time
 

ADDDATE (2005-12-31, INTERVAL 2 month)

mysql> mysql> select ADDDATE ('2005-12-31', INTERVAL 2 month); 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 ')' at line 1 mysql>