MySQL Forums
Forum List  »  Perl

execute multiple quries at one shot with DBI/DBD?
Posted by: web reg
Date: September 05, 2007 07:55PM

In Python, there is a "executemany(..)" function to execute multiple queries at the same time and get the results back together. This will save some time doing the queries and sending results from the server to the client. One example of "executemany(..)" can be

executemany("select name from tableA where X < 2 and Y > 3; select name from tableA where X < 4 and Y > 5").

But I cannot find anything similar for Perl DBI/DBD.

Any help will be highly appreciated.

Thanks much in advance.

Options: ReplyQuote


Subject
Written By
Posted
execute multiple quries at one shot with DBI/DBD?
September 05, 2007 07:55PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.