[CheckAtomicResultCriteria] is a Scalar value function that returns a BIT.
I want to use that function in another TableValue function’s where clause. Like below, but doesn’t working. What is the correct way of using this?
WHERE [CheckAtomicResultCriteria](parameters) = '1'
Neither this works
WHERE (SELECT [CheckAtomicResultCriteria](parameters)) = '1'
When executing a UDF, you must prefix the schema.
So you need to call it like this: