dickiebird
Programmer
Hi
I'm attempting to extract data from a table and can't get my head around datediff or datepart. If date is less than 1 Jan 2004, I don't want the value of the column.
How do I code the below psuedo-code correctly ?
case RunDate when < "1 Jan 2004" then 0 else CurrYrCGCSalesYTD
Thanks in advance
Dickie Bird (
-)))
I'm attempting to extract data from a table and can't get my head around datediff or datepart. If date is less than 1 Jan 2004, I don't want the value of the column.
How do I code the below psuedo-code correctly ?
case RunDate when < "1 Jan 2004" then 0 else CurrYrCGCSalesYTD
Thanks in advance
Dickie Bird (