good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^4: SQL through perl is giving errorby remiah (Hermit) |
on Sep 01, 2011 at 05:56 UTC ( [id://923567]=note: print w/replies, xml ) | Need Help?? |
Suppose there is a table "mytable" with column col_pk as follows.
And update and insert sql as follows. If you run the sql above only once, it never yields error. But if you run the sql twice, it will yield error because there is already 4 in mytable. I'm not sure. Just guessing.
In Section
Seekers of Perl Wisdom
|
|