C
|
cgphp 4/25/2013 |
The function name is DATE_ADD not DATEADD. Specify the type value for the interval: sql="UPDATE table SET expiry_date = DATE_ADD(`current date in another field`, INTERVAL 1 YEAR) WHERE maindbID = 123456"; |
T
|
Tempus_Erus author 4/25/2013 |
The function name is DATE_ADD not DATEADD. Specify the type value for the interval: sql="UPDATE table SET expiry_date = DATE_ADD(`current date in another field`, INTERVAL 1 YEAR) WHERE maindbID = 123456";
|