in

SQL Server Blogs

Voices from the UK SQL Server Community

Browse by Tags

  • Dynamic PIVOT in SQL Server 2005

    The PIVOT operator available in SQL Server 2005 is used to generate the Cross-tab results Consider this example select * from ( select Year ( OrderDate ) as pivot_col , e . lastname , o . OrderDate FROM northwind .. Employees as e INNER JOIN northwind .. Orders as o ON ( e . EmployeeID = o . EmployeeID...
    Posted to Madhivanan (Weblog) by Madhivanan on Wed, Aug 27 2008
Page 1 of 1 (1 items)
Powered by Community Server (Commercial Edition), by Telligent Systems