Sql dataeadd (date_part, numéro, date)

SELECT DATEADD(month, 1, '2022-08-31');
-- outputs: 2022-09-30 00:00:00
SAMER SAEID