Answers for "add date mysql query"

SQL
0

mysql add days to date

UPDATE classes 
SET `date` = DATE_ADD(`date`, INTERVAL 2 DAY)
WHERE id = 161
Posted by: Guest on September-02-2020
2

mysql insert value date

UPDATE personal set birthday = STR_TO_DATE('1-01-2012', '%d-%m-%Y') where birthday IS NULL;
Posted by: Guest on July-08-2021
0

adding current date time in mysql query

NOW()
Posted by: Guest on November-08-2020
0

mysql add days to date

UPDATE classes 
SET `date` = DATE_ADD(`date` , INTERVAL 2 DAY)
WHERE `id` = 161;
Posted by: Guest on September-02-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language