in reply to Calling SQL with embedded quotes
DBI and DBD::Sybase give you some nice methods for dealing with your quoting problem like placeholders and binding
But back to your original question, in the sybperl docs it explains you have both the 'dbsafestr' method and placeholders available with the 'ct_dyn_prepare' method. My personal preference is for placeholders since they make for efficient queries if reused.
Of course you can always go to the monastary's mpeppler's page and read about both.
grep
| These are not the monks you are looking for, move along |
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Calling SQL with embedded quotes
by c-era (Curate) on May 21, 2002 at 12:40 UTC | |
by IlyaM (Parson) on May 21, 2002 at 14:51 UTC | |
by mpeppler (Vicar) on May 21, 2002 at 16:11 UTC |