diyaz has asked for the wisdom of the Perl Monks concerning the following question:
$dbh->do(qq(INSERT INTO Position(Chr,Pos) VALUES(?,?)), undef, $chr, $pos);
Message: DBD::mysql::db do failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Position(Chr,Pos) VALUES('X','123456')' at line 1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DBI: Insert into composite key columns
by poj (Abbot) on Jan 27, 2016 at 19:56 UTC | |
by diyaz (Beadle) on Jan 27, 2016 at 20:06 UTC |