in reply to Re: dbi placeholders
in thread dbi placeholders

just right! thanks

Replies are listed 'Best First'.
Re^3: dbi placeholders
by poj (Abbot) on Aug 05, 2014 at 18:59 UTC

    Or maybe you can just use

    my $sql = 'INSERT INTO table2 SELECT * FROM table1'; my $count = $dbh->do($sql); print "$count records inserted from table1 into table2\n";
    poj