Tag Archives: IFF fuction SQL Server 2011 2012

How to use IIF() in SQL Server ?

SQL Server Denali CTP3 has introduces a new function IIF() to evaluates specified expression and returns specified true/false values. IIF(), is kind of shorthand way of writing a CASE expression where we can expect only two result either true or false. This function is same as available in other languages. IIF(), accepts three parameters, First [...]