Answers for "sql add month to date update"

SQL
3

how to add month in update sql

UPDATE users
SET date = DATEADD(MONTH, 1, date)
Posted by: Guest on December-17-2020
1

sql add months to date

//Returns Date time
//Takes where to add (as in year, month, day, etc) to
//Takes how much to add
//Takes a datetime in some different formats
DATEADD(month, 1, '2017/08/25')
Posted by: Guest on March-23-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language