in reply to Re^2: prepared statement
in thread prepared statement
my $sth1 = $dbh->prepare( $sql1 ); # it can be a select my $sth2 = $dbh->prepare( $sql2 ); # it can be an insert while(my $var=@arr){ $sth1->execute($param1); $sth2->execute($param2); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: prepared statement
by ikegami (Patriarch) on Aug 18, 2010 at 20:23 UTC | |
|
Re^4: prepared statement
by james2vegas (Chaplain) on Aug 18, 2010 at 20:03 UTC | |
|
Re^4: prepared statement
by saintex (Scribe) on Aug 19, 2010 at 11:11 UTC | |
by Tux (Canon) on Aug 19, 2010 at 14:00 UTC |