in reply to DBD::ODBC not support
You are interpolating scalars containing ':' into your SQL and ':' is the introducer for named parameters. As a result DBD::ODBC thinks your SQL contains some named parameters and obviously some of those :xxx strings occur more than once. If you are not using named parameters (which you do not appear to be) and for some strange reason cannot use placeholders for the parameters you need to look at setting odbc_ignore_named_placeholders. However, I would just use bound parameters if I were you - much safer.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: DBD::ODBC not support
by Bheema_Tyco (Novice) on May 12, 2010 at 10:47 UTC | |
by mje (Curate) on May 12, 2010 at 10:49 UTC | |
|
Re^2: DBD::ODBC not support
by wjw (Priest) on Dec 03, 2010 at 17:48 UTC | |
by mje (Curate) on Dec 06, 2010 at 13:35 UTC |