I want to create an SQL query that will return True if a specific value exists in a specific column; if not, then it will return False.
I know that I can create something like 'SELECT something FROM somewhere WHERE something'
. In this case I don't want to select anything, just to check.
My question is how can I do it.
You can use the
IIf
function: