Viewing post 1 (of 1 total)
hi sunshine i hope this case statement work
CASE
WHEN (@Variable NOT IN ('here', 'or here'))
THEN
SELECT @errorMsg = 'message here'
ELSE GOTO ERROR
END
June 3, 2015 at 12:09 am
#1802500