Thread Perl , SQL und Datenbank (13 answers)
Opened by joelsok at 2010-07-15 16:22

joelsok
 2010-07-16 08:24
#139834 #139834
User since
2010-07-15
20 Artikel
BenutzerIn
[default_avatar]
hallo Topeg,
was macht eingentlich diese Code-Fragment:
while(my $row=$sth_a->fetchrow_hashref)
{
my @names=keys(%$row);
my $keys=join(', ',@names);
my $values=join(', ',map{'?'}@names);
$dbh_b->do("INSERT INTO Adresse ($keys) VALUES ($values)",undef,@$row{@names});
}


danke

View full thread Perl , SQL und Datenbank