aspose file tools
The moose likes JDBC and Relational Databases and the fly likes Pivot and Unpivot Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Pivot and Unpivot" Watch "Pivot and Unpivot" New topic
Author

Pivot and Unpivot

Guddu Ali
Ranch Hand

Joined: Jul 18, 2012
Posts: 33
What is use of pivot and unpivot where it is used?
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42956
    
  73
The first result I get when searching for "unpivot" is called "Using PIVOT and UNPIVOT" - that looks very promising :-). If you meant something else, please be more specific, as these words can have various meanings.
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32052
    
200

Also, what is the context? Excel? A database? Something else?


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Guddu Ali
Ranch Hand

Joined: Jul 18, 2012
Posts: 33
In context of SQL Data Base.
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32052
    
200

In that case, the Microsoft Tech Note Ulf mentioned is a good start. Take a look and that post back what questions you have. Also, I'll move this to our database forum.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Pivot and Unpivot