MySQL: DATE_ADD

John Kurlak picture John Kurlak · Jul 15, 2009 · Viewed 15.5k times · Source

Is there a difference between:

SELECT DATE_ADD('2005-01-01', INTERVAL 3 MONTH);

and

SELECT '2005-01-01' + INTERVAL 3 MONTH;

Answer

chaos picture chaos · Jul 15, 2009

No, they're the same.