I have searched if there is a reason why tsql contains wouldnt allow "or not" or "not" as unary operator.
On the microsoft site it just says "OR NOT operator is not allowed" CONTAINS (Transact-SQL)
I can simply put the unary not in outside of contains to be able to do that right?
SELECT * FROM Person
WHERE NOT CONTAINS(*, 'Steve')
and the same with "or not"
SELECT * FROM Person
WHERE CONTAINS(FirstName, 'Peter') OR NOT CONTAINS(LastName, 'Smith')
Is it problematic to do queries as in the two examples?
Thanks for your help
Manuel