File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes retrieve the rowset in a reverse manner Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "retrieve the rowset in a reverse manner" Watch "retrieve the rowset in a reverse manner" New topic

retrieve the rowset in a reverse manner


Joined: Jun 29, 2005
Posts: 6
in my office i've to get the rows from a rowset in a reverse manner

for eg if the results r 1 2 3 4

i need them in a 4321 manner for displaying purpose
[ July 20, 2005: Message edited by: Bear Bibeault ]
Shailesh Chandra
Ranch Hand

Joined: Aug 13, 2004
Posts: 1082

Please do not write any non english word in your post or short form of word because java ranch is place where people come from all over world who are not native enlist. It will cause proplem in reading your post for them

for your problem.... use Order by column desc in your query.
and I would recommend read some about basics of SQL


Gravitation cannot be held responsible for people falling in love ~ Albert Einstein
I agree. Here's the link:
subject: retrieve the rowset in a reverse manner
It's not a secret anymore!