Browse by Tags

All Tags » tsql » dynamic » crosstab
  • Dynamic Crosstab with multiple pivot columns

    Jeff Smith in his weblog showed how to generate Crosstab reports using a stored procedure. I had a requirement to generate crosstab reports with more than one pivot column. So I used the same approach he used and modified his procedure as shown below CREATE procedure CrossTab ( @select varchar(2000), @PivotCol varchar(100), @Summaries ...
    Posted to SQL Server Aggregator (Weblog) by Anonymous on August 16, 2007