DECLARE @NumberPortion int SET @NumberPortion = ???? RETURN CASE WHEN (@NumberPortion BETWEEN 1 AND 99) AND Field2 < 12 THEN 0 WHEN (@NumberPortion BETWEEN 100 AND 199) AND Field2 < 8 THEN 0 WHEN (@NumberPortion >= 200) AND Field2 < 4 THEN 0 ELSE 1.5 END
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.