RE: DBD ODBC question - $dbh->{odbc_exec_direct}



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
.



Relevant Pages