I have two tables. I will allow a record to be returned from one table if a bit flag is set in the other. So the question:
Is it faster to perform an IF EXISTS query the the second table to see if a record exists where the bit is set, or is it better to use an inner join.
This is solely about performance, and not about pure set semantics.
Cheers,
M
(Using SQL 2k)




Reply With Quote