This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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 Building Microservices this week in the Design 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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: retrieve the rowset in a reverse manner
It's not a secret anymore!