I have seen SQL that uses both != and <> for not equal. What is the preferred syntax and why?
SQL
!=
<>
I understand that the C syntax != is in SQL Server due to its Unix heritage (back in the Sybase SQL Server days, pre Microsoft SQL Server 6.5).