I need to return the first x rows of a 'select' statement.
$returnRef = $db->selectall_arrayref($sql);
returns all the rows, but the table has >50,000 rows and I only want to see the first 10, for example.
How can this be done?
Thanks.
May you Perl in peace
In reply to Using the DBI to return the first ix/i rows by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |