in reply to Re^3: How to Do multiples SQL Insert at one time?
in thread How to Do multiples SQL Insert at one time?
Alternatively, let someone else separate preparation and execution!
This prepares the query only once.use DBIx::Simple; my $db = ...; while (<$log>) { $db->query('INSERT INTO foo VALUES (??)', split /:/); }
|
|---|