View Single Post
  #1 (permalink)  
Old 05-22-2008, 11:19 AM
neriodavid neriodavid is offline
Junior Member
 
Join Date: May 2008
Posts: 5
Question A simple question on Sql LIMIT clause.

Here:
Zend Framework: Documentation .db.select.building.limit

And here:
Paging Data Sets With PEAR Pager EAR-Pager

It seems the two articles use different LIMIT clause syntax.
The manual is: LIMIT <limit>, [<skip>]
But the tutorial on Pager is:
LIMIT [<skip>,]<limit>

I am wondering, which is the correct one? or we can use both?
Reply With Quote