General information
Title:
MsSql Select IIF() Function
Does there have a similar IIF() commnad in MsSql?
I try to do this but fail :
select id,IIF(type='A',1,2) AS indicator From tableA
TIA.
Regards,
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only