Hi,
does anybody know, how to do this, but database independent ?
LIMIT x,y hat only MySQL, other databases not
Thanks a lot
Tomas Zeman
----- Original Message -----
From: "Philip McAllister" <[EMAIL PROTECTED]>
Sent: Thursday, June 14, 2001 10:33 AM
Subject: Re: Moving through the resultset
> From: "EJB ForAll" <[EMAIL PROTECTED]>
>
> > and in next page you can use the following query
> >
> > select * from abc limit 20,21
>
> should, I think, be:
>
> SELECT * FROM abc LIMIT 21,20
>
> the first number being the offset to select from, and the second number
> being the number of results to retrieve.
>
> --
> Philip McAllister <[EMAIL PROTECTED]>
> Web Applications Developer, ticketingsolutions
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets