Do you know where your variables are? | |
PerlMonks |
(Ovid) Re(3): How do you get Perl::DBI to do a desc table_name?by Ovid (Cardinal) |
on Mar 27, 2002 at 18:45 UTC ( [id://154759]=note: print w/replies, xml ) | Need Help?? |
Just drop the TOP 1 from the SQL. I added that to prevent the DB from selecting all records and doing to much work. However, having the $sth->finish call at the end should minimize the overhead by merely finishing up the statement handle without fetching the subsequent rows. Of course, Oracle should support some form of the TOP syntax, but I don't know Oracle. Cheers, Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.
In Section
Seekers of Perl Wisdom
|
|