aspose file tools*
The moose likes JDBC 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
JavaRanch » Java Forums » Databases » JDBC
Bookmark "retrieve the rowset in a reverse manner" Watch "retrieve the rowset in a reverse manner" New topic
Author

retrieve the rowset in a reverse manner

sush
Greenhorn

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: 1081

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

Shailesh


Gravitation cannot be held responsible for people falling in love ~ Albert Einstein
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: retrieve the rowset in a reverse manner