Hello,
I am having problem in setting up an if statement
where I have 3 calendar_id -@calendar_ID1,@calendar_Id2,@calendar_ID3.
I need to check and see
if (@calendar_ID1<>@calendar_ID2) OR if(@calendar_ID1<>@calendar_ID3)
then
I need to exit out of the stored procedure.
How can I implement this check constraint.
I am getting error when I use an IF statement with OR ,AND operator.
Is that possible or not
?
Thannks
I am having problem in setting up an if statement
where I have 3 calendar_id -@calendar_ID1,@calendar_Id2,@calendar_ID3.
I need to check and see
if (@calendar_ID1<>@calendar_ID2) OR if(@calendar_ID1<>@calendar_ID3)
then
I need to exit out of the stored procedure.
How can I implement this check constraint.
I am getting error when I use an IF statement with OR ,AND operator.
Is that possible or not
?
Thannks