sample:
Set @login='USC00010';
set @user='USC00010';
select STRCMP(@login,@user);//returns 0
if(STRCMP(@login,@user)= 0)
THEN
//process1
else
//process2
end if;
and the above code throws You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.