If you're worried about unusual table names, you need $dbh->quote_identifier.
for my $table (qw( Widgets201003 Widgets201004 Widgets201005 )) { my $q_table = $dbh->quote_identifier($table); my $sth = $dbh->prepare(" INSERT INTO $q_table ( moo, baa, cluck ) VALUES ( ?, ?, ? ) "); ... }
In reply to Re: DBI - Table names & placeholders
by ikegami
in thread DBI - Table names & placeholders
by McDarren
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |