|There's more than one way to do things|
Using the DBI to return the first ix/i rowsby Anonymous Monk
|on Jan 25, 2001 at 16:01 UTC||Need Help??|
Anonymous Monk has asked for the
wisdom of the Perl Monks concerning the following question:
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?
May you Perl in peace