ashstampede
Programmer
I have a store procedure with an if statment, i cant get the not equal comparison in the store procedure.
i have an if statement and try both not equal to operators but it doesn't work/go into the if statement
what am i doing wrong
i have an if statement and try both not equal to operators but it doesn't work/go into the if statement
Code:
if @e <> @emp
set @rt = 0
if @e != @emp
set @rt = 0
what am i doing wrong