in reply to Re: SQL quoting problem
in thread SQL quoting problem
which effectively turns something like can't into 'can''''t', which is just what the stored proc needs.$bar=~s/'/''/g; $dbh->do('exec sp_MyStoredProg @foo=' . $dbh->quote($bar));
Thanks again to everyone!
|
|---|