in reply to Oracle Insert with DBI
In your first example what exactly are you getting back from the do method - it should return the number of rows affected, -1 (not known) or undef (error). Which are you getting? Similarly in the second method, what is $stmt->rows after execute?
UPDATE: bare in mind do returns 0E0 for 0 rows affected which is TRUE but 0.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Oracle Insert with DBI
by simply seth (Initiate) on Jan 12, 2010 at 17:38 UTC | |
by mje (Curate) on Jan 12, 2010 at 17:47 UTC | |
by simply seth (Initiate) on Jan 12, 2010 at 19:00 UTC | |
by mje (Curate) on Jan 13, 2010 at 09:45 UTC |