hmadhi has asked for the wisdom of the Perl Monks concerning the following question:
my %kpi_thres = ( "PDP"=>80, "GAS"=>70, "RAU"=>75 ); $SQL=qq{select * from abc where date=?}; foreach $kpi (keys(%kpi_thres)) { my $sth_ne = $dbh->prepare_cached($SQL); $sth_ne->execute($currDateTime); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: $sth->prepare_cached loop
by tilly (Archbishop) on Mar 08, 2011 at 07:17 UTC | |
by hmadhi (Acolyte) on Mar 08, 2011 at 08:02 UTC |