Using CASE Expression in SQL Server to create a Computed Column

added by mopen
4/19/2010 9:45:00 AM

8 Kicks, 280 Views

Here’s a practical and interesting example of using CASE expression in SQL Server. I am creating a computed column using CASE expression where I will automatically calculate the value of a column based on the value of other columns