In theory one can use $sth->bind_param to tell type which has variable to be inserted in place of placeholder so DBI has a chance to do proper quoting. In reality I'm not sure that it works for anything other than Oracle. At least I've never seen it being used with DBI drivers other than DBD::Oracle.
--
Ilya Martynov
(http://martynov.org/)
In reply to Re: Re: DBI: when 1 != '1'
by IlyaM
in thread DBI: when 1 != '1'
by IlyaM
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |