A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JDBC and Relational Databases
Java class to perform Unpivot operator
Joined: Oct 12, 2004
Jan 29, 2010 04:41:06
Anyone know of a algorithm or
class that can perform an unpivot operation on a ResultSet.
i.e. similar to Oracles Unpivot operator. See Example
However I have to do this on the ResultSet returned. I can't do it in the sql.
Joined: Oct 27, 2005
Jan 29, 2010 05:07:36
Check out what ResultSet.getMetaData() returns and what you can retrieve from it.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions
How To Answer Questions
I agree. Here's the link:
subject: Java class to perform Unpivot operator
JDBC compare the content of two tables
unsigned right shift operator (>>>)
question about garbage collection
HTML Encoding in Java
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015