M
Mike Lastort
I'm trying to figure out a way to determine the number of
records that were affected by calling Oracle stored procs
that UPDATE, INSERT or DELETE.
The problem is that I am working within an existing
framework that dynamically creates UPDATE, INSERT and
DELETE commands for Oracle data adapters based on all the
tables in the database. However, I can't call
OracleCommand.ExecuteNonQuery (which returns the number of
records affected) to execute the stored procs because of
the way the code is structured.
Is it possible to get the number of affected records for
UPDATEs, INSERTs and DELETEs without calling
ExecuteNonQuery? If so, what should I call? If not, we're
going to have a fair bit of rewriting to do.
Thanks in advance,
Mike Lastort
(e-mail address removed)
records that were affected by calling Oracle stored procs
that UPDATE, INSERT or DELETE.
The problem is that I am working within an existing
framework that dynamically creates UPDATE, INSERT and
DELETE commands for Oracle data adapters based on all the
tables in the database. However, I can't call
OracleCommand.ExecuteNonQuery (which returns the number of
records affected) to execute the stored procs because of
the way the code is structured.
Is it possible to get the number of affected records for
UPDATEs, INSERTs and DELETEs without calling
ExecuteNonQuery? If so, what should I call? If not, we're
going to have a fair bit of rewriting to do.
Thanks in advance,
Mike Lastort
(e-mail address removed)