Can I use PIVOT or UNPIVOT to get the desired result and eliminate a slew of UNIONs?
I know I could easily use UNION ALL
to get the results I want, but I have to generate 5 tables of each containing 15 rows of metrics/KPI.
Can I use PIVOT or UNPIVOT to get the desired result and eliminate a slew of UNIONs?
I know I could easily use UNION ALL
to get the results I want, but I have to generate 5 tables of each containing 15 rows of metrics/KPI.
Can I use PIVOT or UNPIVOT to get the desired result and eliminate a slew of UNIONs?
I know I could easily use UNION ALL
to get the results I want, but I have to generate 5 tables of each containing 15 rows of metrics/KPI.
Can I use PIVOT or UNPIVOT to get the desired result and eliminate a slew of UNIONs?
I know I could easily use UNION ALL
to get the results I want, but I have to generate 5 tables of each containing 15 rows of metrics/KPI.
Can I use PIVOT or UNPIVOT to get the desired result and eliminate a slew of UNIONs?
I know I could easily use UNION ALL
to get the results I want, but I have to generate 5 tables of each containing 15 rows of metrics/KPI.