Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 pivot table

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-08-11 : 16:31:00
val writes "can sql server do such things like ms access does like this,

TRANSFORM Count(Products.ProductID) AS [The Value]
SELECT Products.ProductName, Products.ProductDescription, Count(Products.ProductID) AS [Total Of ProductID]
FROM Products
GROUP BY Products.ProductName, Products.ProductDescription
PIVOT Products.UnitPrice;"
   

- Advertisement -