MySQL Forums
Forum List  »  Perl

Re: Multiple inserts/updates through DBD::mysql
Posted by: ben eagle
Date: April 02, 2007 01:54PM

declare each statement in a individual string my

my $first = qq{update kalle set lars = 1};
my $second = qq{update kalle set lars = 2};

$dbh->do($first, $second);

or something to that order, this is untested

Options: ReplyQuote


Subject
Written By
Posted
Re: Multiple inserts/updates through DBD::mysql
April 02, 2007 01:54PM


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.