I\'ve just come across this in a WHERE clause:
AND NOT (t.id = @id)
How does this compare with:
AND t.id != @id
Note that the != operator is not standard SQL. If you want your code to be portable (that is, if you care), use <> instead.