RE: DBD ODBC question - $dbh->{odbc_exec_direct}
- From: rps@xxxxxxxxxxxxxxx (Ryan Stille)
- Date: Thu, 15 Dec 2005 15:37:52 -0600
louis gonzales wrote:
> Try
> sth->finish()
> after the
> sth->execute()
I tried this and it did indeed stop the errors, even without the
"$dbh->{odbc_exec_direct} = 1" line. Actually I added it after the
fetch, I wasn't sure if I should clean up $sth before I fetch() from it.
What was happening by not calling finish()? My recollection was that
this is not usually necessary.
Thanks,
-Ryan
.
- Follow-Ups:
- RE: DBD ODBC question - $dbh->{odbc_exec_direct}
- From: Louis Gonzales
- RE: DBD ODBC question - $dbh->{odbc_exec_direct}
- Prev by Date: Re: DBD ODBC question - $dbh->{odbc_exec_direct}
- Next by Date: RE: LongReadLen, lengthb() and Oracle
- Previous by thread: Re: DBD ODBC question - $dbh->{odbc_exec_direct}
- Next by thread: RE: DBD ODBC question - $dbh->{odbc_exec_direct}
- Index(es):
Relevant Pages
|