Case statement in SQL Server is a very handy one to showcase your output as expected or for customising your output, you can use Case statement. Please find a small example to get use of the case statement.
|
The output is,

Cheers,
Venkatesan prabu .J
http://venkattechnicalblog.blogspot.com/
http://www.kaashivinfotech.com/

Join the conversation! Your thoughts help the community grow.