Transpose of Result set
Hi,One more way to do this in t-sql, this also use PIVOT. PIVOT syntax looks looks complex when you first start with it, but its a good way of doing cross tab queries..declare @PivotColumnNames...
View ArticleTranspose of Result set
thanks, i know i can use Pivot/unpivot but i became complex, specially in my case where i have very big data set , i have to many columns and rows. i used Column group function in SSRS
View ArticleTranspose of Result set
Are you looking for the below: CREATE TABLE customer(name VARCHAR(25), class VARCHAR(25) , id Varchar(25) ,product1 VARCHAR(25)) INSERT INTO customer VALUES('A','x',1, 'L') INSERT INTO customer...
View ArticleTranspose of Result set
CREATETABLE customer(nameVARCHAR(25), classVARCHAR(25) , IDINT,ProductVARCHAR(20))INSERTINTO customer (Cust, Product, QTY)VALUES(‘A’,’x’,1,’L’)INSERTINTO customer (Cust, Product,...
View Article