#!/fellow/monks.pl
I'm using DBI to create some HTML tables through a CGI interface. One of the queries are generating a lot of data, so the resulting HTML gets very big. I want to build a function that will allow me to browse through the records, by only displaying a certain number of records at a time. Now, the easiest way of doing this is by letting DBI get all the records, and just display the ones you want. This is very bad for performance. Is there a way I can ask DBI to display eg. record 20 to 50? Is this a DBI thing or rather a SQL thing? I'm using mySQL and Oracle 8i.
Thanks!
#!/massyn.pl The early worm gets caught by the bird.
In reply to mySQL query by Massyn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |