http://www.perlmonks.org?node_id=1084783


in reply to Re^2: perl mysql - INSERT INTO, 157 columns
in thread perl mysql - INSERT INTO, 157 columns

my $sth = $dbh->prepare ("select * from foo");

Surely that should be

my $sth = $dbh->prepare ("select * from foo where 1=0 ");

Or something like that (limit, top, or whatever to not have the db think deeper than necessary...).