I have some .NET code that checks for the existence of a SQL record at a moderately-high interval. I am looking to make this check as \"cheap\" as possible.
I\'m wo
This is what you want instead of the IF statement
SELECT ISNULL( (SELECT TOP 1 1 FROM BigTable where SomeCol = 200), 0);