Hi is there some way that output can have different aliases for the THEN or ELSE of the CASE?
This does not work and I have tried various bracketing that did not work. It is not a huge deal if this can't be done because it easy enough to do this programatically but it would be nice to know if there is some way to do this?Code:SELECT CASE WHEN prg.program_name LIKE '%Family Emergency%' THEN l2prg.registration_number as 'Registrant Number' ELSE l2prg.registration_number as 'Program Number' END
Steve



Reply With Quote






Bookmarks