I have a requirement to run a query against a database that will return either a zero or one (Checking for existance of specific criteria). The Tech specs I\'ve been given for r
The calling scalar-valued function is absolutely correct solution.