Home Forums SQL Server 2012 SQL 2012 - General SQL Query Doubt/Clarification? RE: SQL Query Doubt/Clarification?
John Mitchell-245523
SSC Guru
Points: 148809
More actions
August 18, 2017 at 4:35 am
#1955800
What happens if there are more than three groups? Do you need to add more and more columns if there are?
Is this for a report? I would recommend that you just return the data from SQL Server and let your front end handle the pivoting.
John