This article is missing the essential detail that IIF is supported starting with SQL Server 2012, aka Denali.
http://blog.sqlauthority.com/2011/09/10/sql-server-denali-logical-function-iif-a-quick-introduction/
↧