1 Reply Latest reply on Mar 7, 2018 3:09 PM by Patrick A Van Der Hyde

    Sql server function to Teradata

    raja boggarapu

      Hi All,

       

      Could someone please help me to convert sql server function to terdata

       

       

        DATEADD(wk, 1, DATEADD(DAY, 0-DATEPART(WEEKDAY, date_id), DATEDIFF(dd, 0, date_id)))

       

      i was trying to get week end date for week attribute. i will add date as child to week attribute.