I can do the following: select char(64 + 2) = B select char(64 + 3) = C the result is B. I can put in a number and get the letter in that position in aphabet. How do I do the opposite. I need to pass a B and get 2 or c and get 3 and so on... thoughts?