Hi, I'm doing a bit of universe work and haveing a few probs with a case statement, basically if an events happened before a certain time then i wanna add some days onto a date, my syntax is as follows:
Can anybody spot where i'm going wrong??
Thanks
Code:
case when date(DIRY_REV.TRIG_TS)<= date(01/09/2005) then date(DIRY_REV.TRIG_TS) + 7 Days Else date(DIRY_REV.TRIG_TS) end case
Can anybody spot where i'm going wrong??
Thanks