I have the following query and receive the error when I check syntax. I don\'t see what\'s wrong. The parameter and field are the same data type.
select