Sponsored White Papers, Webcasts, and Downloads
TechRepublic Resources
- Write PIVOT queries in SQL Server 2005
- Pivot ?Hi,I came across this problem ,select * from (select distinct amountfc, amounttype, Date_,SupplierCode,InvoiceType, CostType,Total, Currency,ROE from invoice inner join inv_detailed on invoice.InvoiceID=inv_detailed.InvoiceID ) as resPIVOT ( sumAmountFC for AmountType in ( select amounttype from inv_amounttypes ) ) as testENDand yes, i understood this cannot be done, well it is one of...
- Tags: for, hrubeshj17@..., in, Microsoft SQL Server, Microsoft SQL Server 2005, pivot, programming, select, Write PIVOT
- Discussion threads 2007-01-16
- << Previous
- page 1 of 1
- Next >>