I am a novice in t-sql and sql server, and I have a question about short circuiting and full text search. Let's assume I have a statement like this:
SELECT *
FROM t1
LEFT JOIN t2
ON t1.Id = t2.Id
WHERE contains(t1.Field1,@word) or contains(t2.Field2,@word)
My idea here is to check if the t1.Field1 contains @word, if it is true - no need to check second conditon, if it is false - check the second contains. But I have already understood, that this doesn't works and this query performs both contains and spends time for an unnecessary work. So I want to ask how can I avoid performing of these unnecessary predicates.