www.softwareriviera.com
Software Code
    New Code     Most Interesting     Don't Miss     Our picks  
MYSQL - section

View Article
MYSQL Get first rows from the top (limit number of returned rows)
MYSQL Get first top data rows. Here is a way for imposing a limit on the number of rows returned by a MYSQL select statement.
Here is how you can impose a limit on the number of rows returned by a MYSQL select statement. The "select" example bellow returns only the first 10 rows from the tblProducts table:

select * from tblProducts limit 10
Date: 2007-5-20    Written by: Admin A
     See all articles in this section
Copyright © 2007-2009 SoftwareRiviera.com. All rights reserved.  | Terms of use | Disclaimer | Privacy Policy |