hok_si_la has asked for the wisdom of the Perl Monks concerning the following question:
Greetings Monks,
I use use DBI to execute my MS SQL server statements. I recently read Here that the method prepare_cached stores the statement handle in a hash associated with $dbh. What is the scope of that hash? Is it useless to use prepare_cached when a statement handle is not executed more than once within a given subroutine?
Thanks for your help
hok_si_la
I use use DBI to execute my MS SQL server statements. I recently read Here that the method prepare_cached stores the statement handle in a hash associated with $dbh. What is the scope of that hash? Is it useless to use prepare_cached when a statement handle is not executed more than once within a given subroutine?
Thanks for your help
hok_si_la
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: DBI prepare_cached
by runrig (Abbot) on Sep 08, 2005 at 21:23 UTC | |
by hok_si_la (Curate) on Sep 08, 2005 at 21:32 UTC | |
by Codon (Friar) on Sep 08, 2005 at 21:42 UTC |
Back to
Seekers of Perl Wisdom