I would like to know how I can use local variables in CASE statements in SQL?
CASE
This script gives me an error:
DECLARE @Test int; DE
CASE @Test WHEN 10 THEN