I am working on a query so that I can compare a word read from a file name to another word that is already predefined in the code and assign it a numeric value.
However, the issue I am running into is trying to ignore the case of the name, because the name is being read from a file the case could change and then would not match the predefined value I have set. Is there any easy way to ignore the capitalization other than putting every possible value in the case?
code snipit:
NumberVal = CASE
WHEN Name = 'Bond' OR Name = 'BOND' OR Name = 'bond' THEN 16
END