This week's book giveaway is in the
Agile and other Processes
forum.
We're giving away four copies of
The Mikado Method
and have Ola Ellnestam and Daniel Brolund on-line!
See
this thread
for details.
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Databases
»
JDBC
Author
Java class to perform Unpivot operator
Dar Var
Ranch Hand
Joined: Oct 12, 2004
Posts: 74
posted
Jan 29, 2010 04:41:06
0
Anyone know of a algorithm or Java class that can perform an unpivot operation on a
ResultSet
.
i.e. similar to Oracles Unpivot operator. See Example
here
However I have to do this on the
ResultSet
returned. I can't do it in the sql.
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
I like...
posted
Jan 29, 2010 05:07:36
0
Check out what ResultSet.getMetaData() returns and what you can retrieve from it.
Moving to
JDBC
.
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions
How To Answer Questions
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: Java class to perform Unpivot operator
Similar Threads
List Sorting
unsigned right shift operator (>>>)
question about garbage collection
JDBC compare the content of two tables
HTML Encoding in Java
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter