T-SQL

SQL Server UNPIVOT Example

Using this T-SQL example, you can easily transform columns into rows with just one step thanks to the SQL Server UNPIVOT function. It is the exact opposite of the PIVOT query. In this example, only the six first months