Meaningless Drivel is fun!
The moose likes JDBC and Relational Databases and the fly likes MySQL get the row number Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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: 270
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
Sheriff

Joined: Oct 14, 2005
Posts: 19747
    
  10

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://aspose.com/file-tools
 
subject: MySQL get the row number
 
It's not a secret anymore!