File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes MySQL get the row number Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "MySQL get the row number" Watch "MySQL get the row number" New topic
Author

MySQL get the row number

Jeppe Sommer
Ranch Hand

Joined: Jan 07, 2004
Posts: 263
Hi,

Is it possible in mySQL (4.x) to get the row number using only a SQL query?

The result should be some like:

[ December 20, 2006: Message edited by: Jeppe Fjord ]
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 16479
    
    2

Here's the response that somebody from MySQL gave to that question when it was asked on MySQL's forum.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: MySQL get the row number
 
Similar Threads
retrieve blob data from mysql using jsp
Row Selection problems with JTable
getting a range of returned rows?
selecting a row from table using radio buttons
loading objects into arraylist