I have seen SQL that uses both != and <> for not equal. What is the preferred syntax and why?
SQL
!=
<>
<> is the valid SQL according to the SQL-92 standard.
http://msdn.microsoft.com/en-us/library/aa276846(SQL.80).aspx