Re: Multiple inserts/updates through DBD::mysql
Looking at the DBI docs $dbh->do() doesn't work like that. You'd be better off preparing once then executing with the different values:-
my $sth = $dbh->prepare("UPDATE kalle set ?=?");
$sth->execute("lars",1);
$sth->execute("lars",2);
Lyle Hopkins
Subject
Written By
Posted
February 13, 2007 07:52AM
February 21, 2007 02:39PM
Re: Multiple inserts/updates through DBD::mysql
January 26, 2008 05:15PM
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.