raresql.com
SQL SERVER – Using Decode in SQL Server
I was reading a function in Oracle namely “Decode”. It is very handy when it comes to search a variable and return the result based on search. It has been asked on multiple forums, what…