with a SQL.
i have YearVar=2022
and this fileds in table1:
DAL AL
01/01/2021 31/05/2021
01/06/2021 31/07/2021
01/08/2021 31/08/2021
01/09/2021 31/12/2021
01/01/2021 31/05/2021
01/06/2021 31/07/2021
01/08/2021 31/08/2021
01/09/2021 31/12/2021
01/01/2021 31/05/2021
01/06/2021 31/07/2021
01/08/2021 31/08/2021
01/09/2021 31/12/2021
01/01/2021 31/05/2021
01/06/2021 31/07/2021
01/08/2021 31/08/2021
01/09/2021 31/12/2021
01/01/2021 31/05/2021
01/06/2021 31/07/2021
01/08/2021 31/08/2021
01/09/2021 31/12/2021
how to update ony the year from 2021 to yearvar?
maintain fixed the days and months
i have YearVar=2022
and this fileds in table1:
DAL AL
01/01/2021 31/05/2021
01/06/2021 31/07/2021
01/08/2021 31/08/2021
01/09/2021 31/12/2021
01/01/2021 31/05/2021
01/06/2021 31/07/2021
01/08/2021 31/08/2021
01/09/2021 31/12/2021
01/01/2021 31/05/2021
01/06/2021 31/07/2021
01/08/2021 31/08/2021
01/09/2021 31/12/2021
01/01/2021 31/05/2021
01/06/2021 31/07/2021
01/08/2021 31/08/2021
01/09/2021 31/12/2021
01/01/2021 31/05/2021
01/06/2021 31/07/2021
01/08/2021 31/08/2021
01/09/2021 31/12/2021
how to update ony the year from 2021 to yearvar?
maintain fixed the days and months