convert multiple columns to rows in sql server

Solutions on MaxInterview for convert multiple columns to rows in sql server by the best coders in the world

showing results for - "convert multiple columns to rows in sql server"
Sara
07 Sep 2017
1select *
2  from yourTable
3  unpivot (
4    Value
5    for NewCol in (Value1, Value2, Value3,Value4, Value5)
6  ) up
7