Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Union or CTE to turn cols into rows?

$
0
0

I am looking for the most efficient way to turn columns into rows where I do not believe I can use a pivot because there is not enough data.  I currently am using a UNION but curious if CTE would be more efficient?  And if CTE is better, can


Viewing all articles
Browse latest Browse all 3145

Trending Articles