Date arithmetic operations require complete dates : DATE_ADD : Date Time Functions MySQL TUTORIALS


MySQL TUTORIALS » Date Time Functions » DATE_ADD »

 

Date arithmetic operations require complete dates


mysql>
mysql> SELECT DATE_ADD('2006-07-00', INTERVAL DAY);
+----------------------------------------+
| DATE_ADD('2006-07-00', INTERVAL DAY|
+----------------------------------------+
| NULL                                   |
+----------------------------------------+
row in set, warning (0.00 sec)

mysql>



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo Date Time Functions
» DATE_ADD