RE: bind variable problem
- From: rjk-dbi@xxxxxxxxxxx (Ronald Kimball)
- Date: Tue, 23 Jan 2007 09:57:41 -0500
John Scoles [mailto:scoles@xxxxxxxxxxx] wrote:
Your first pattern is correct. In the second one you cannot use bind in an
in statment like this as it connot correctly quote the params. Not sure if
this is an DBI thing or DBD::Orale OCI thing though
I can't figure out what you mean by this. In the first block of code, the
number of placeholders is determined based on the size of @ltables; in the
second block of code, the number of placeholders is hard-coded at 5. Other than
that, the two SQL statements are *exactly the same*.
Ronald
.
- References:
- bind variable problem
- From: Anand . K . S .
- Re: bind variable problem
- From: John Scoles
- bind variable problem
- Prev by Date: Re: Not able to connect - But the db2 client utility is working fine
- Next by Date: RE: bind variable problem
- Previous by thread: Re: bind variable problem
- Next by thread: most drivers share error variable for sth/dbh handles?
- Index(es):