in reply to Limit results of a DBI query
Alternatively, issue aselect TOP 10 distinct country ...
first. This will limit all queries to 10 rows returned on that connection, until it is reset. You set it back to "unlimited" with$dbh->do("set rowcount 10");
Michael$dbh->do("set rowcount 0");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Limit results of a DBI query
by peppiv (Curate) on Jan 28, 2003 at 16:53 UTC | |
by mpeppler (Vicar) on Jan 28, 2003 at 21:17 UTC | |
by peppiv (Curate) on Jan 28, 2003 at 21:39 UTC | |
by mpeppler (Vicar) on Jan 28, 2003 at 21:44 UTC |