Answers for "sql add 1 month to current date"

SQL
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
0

how to add month in update sql

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

Code answers related to "SQL"

Browse Popular Code Answers by Language