in reply to INSERT INTO problem with Win32::ODBC and MS Access
Should do the trick.$j0 =~ s/'/''/g;
And the quoting will be done automagically for you. One last note: please use the <code></code> tags for snippets.$SqlStr = "INSERT INTO tbl_jpgs (jpg_seq, suborder, filename) VALUES( +?, ?, ?)"; $dbh->do($SqlStr, {}, $rcd, $i, $j0);
|
|---|