A. - this item does not work with Year function in SELECT CASE statement
SELECT f.EFF_DT, CASE f.END_DT WHEN YEAR(f.END_DT) = 9999 THEN 'Present' ELSE f.END_DT END
From Customer F
B. Same 'YEAR' function does work in WHERE clause.
SELECT f.EFF_DT
FROM Customer F
Where YEAR(f.END_DT) = 9999
Any thoughts, most appreciated...Thanks,
Marcel K.