in reply to DB2 checking for an error on select
Set RaiseError to 1 to see whether bind_col() or fetch() failed.
(And as a side note, I would recommend not to change RaiseError back to 0. It just make things easier. You don't have to check for errors, and when you expect that something may go wrong, you just add an eval { BLOCK }.)
Alexander
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: DB2 checking for an error on select
by morgon (Priest) on May 11, 2009 at 21:50 UTC |