Does anyone know:
In Access there is a logical function you can use in queries called "Switch". Ex:
=Switch(criteria1,value1,criteria2,value2....)
Whichever criteria is deemed true,the value associated with that criteria is returned.
Is there any function in SQL that mimics this functionality? Are there logical functions available in SQL Server in general? Thank you...
In Access there is a logical function you can use in queries called "Switch". Ex:
=Switch(criteria1,value1,criteria2,value2....)
Whichever criteria is deemed true,the value associated with that criteria is returned.
Is there any function in SQL that mimics this functionality? Are there logical functions available in SQL Server in general? Thank you...