Here is basically what I have:
@in_1
@in_2
if exists(Select x as value from table)
BEGIN
Here I want to be able to say @in_1 = value but it doesn't work? says invalid column name? I also tried using the variable in place of value in the select but that didnt work either.
END;
ELSE
BEGIN
END;
thanks
@in_1
@in_2
if exists(Select x as value from table)
BEGIN
Here I want to be able to say @in_1 = value but it doesn't work? says invalid column name? I also tried using the variable in place of value in the select but that didnt work either.
END;
ELSE
BEGIN
END;
thanks