Can someone help me with this syntax? Thanks much
SELECT
column1
, column2
, IF @Subject = 'Mathematics' OR @Subject = 'Reading'
BEGIN
'Applicable Value'
END
ELSE
BEGIN
'N/A'
END
AS brSpringTarget
FROM ...
I want to check the value of the @Subject paramter and act accordingly.