I will thoroughly explain the dateadd function using examples so that even beginners can easily understand it. dateadd is used with the following syntax. dateadd ( date_part , time_to_add , ...
--- para esto se usa una tabla de conversion que se busca en google: 112 o 12 (yyyymmdd), ... --- DATEADD(tipo de intervalo, numero, fecha)----- SELECT DATEADD(day ...