Is there a command that can be used to temporarily convert a string value in a field to integer?
I.E.
SELECT name, employeeid
FROM users
WHERE employeeid = bob
In this case employeeid is an integer, and bob is a number but stored as a string. how do you temporarily convert bob to an integer for the sake of the comparison?
Start Free Trial