📜  在sql server中将多列转换为ROws - SQL代码示例

📅  最后修改于: 2022-03-11 15:04:54.161000             🧑  作者: Mango

代码示例1
select *
  from yourTable
  unpivot (
    Value
    for NewCol in (Value1, Value2, Value3,Value4, Value5)
  ) up