This is a companion piece to the MidnightDBA video T-SQL: CASE Statement. In short, a CASE statement is a simplified set of IF statements. Instead of using several IF statements, you can have a single statement that evaluates several criteria against a piece of data. Simple CASE Let’s take a simple example. We want to […]
T-SQL: CASE Statement
- Post author By Jen McCown
- Post date
- Categories In Beginner, sql server, sqlserverpedia-syndication, SSC, TSQL
- 4 Comments on T-SQL: CASE Statement