An alternative title might be: Check for existence of multiple rows?
Using a combination of SQL and C# I want a method to return true if all products in a list exist
Here's how I usually do it:
Just replace your query with this statement SELECT * FROM table WHERE 1
SELECT * FROM table WHERE 1
SELECT CASE WHEN EXISTS ( SELECT * FROM table WHERE 1 ) THEN 'TRUE' ELSE 'FALSE' END