列转行

select K, V from #OldData UNPIVOT([V] for [K] in (EmployeeName,nationality)) as T

你可能感兴趣的:(列转行)