Last updated 1 month ago
SQL Server
Azure Synapse Analytics
Returns one of two values, depending on whether the Boolean expression evaluates to true or false. ().
IIF( boolean_expression, true_value, false_value )
IFF( <condition> , <expr1> , <expr2> )
Code:
SELECT IIF( 2 > 3, 'TRUE', 'FALSE' ) AS RESULT
Result:
RESULT| ------+ FALSE|
SELECT IFF( 2 > 3, 'TRUE', 'FALSE' ) AS RESULT;
No issues were found.
No related EWIs.