Not long ago, Brendan Johnston suggested that you could create a stored
procedure to do the database operation and return the row count.  He warned
of dangers of non-reusable non-portable code and all that.

-- Curt Springer, Team ND


At 03:33 PM 7/1/99 +0100, Ryan Gustafson wrote:
>I'd also like to chime in my interest for knowing this.  I needed to do
>this today and was unable to find anything that worked.  I tried
>getNumOfRows(), and even checking the vendor error codes.  Nothing.
>
>I appreciate any assistance people can provide.
>
>Thanks,
>Ryan
>
>"DARREN KHOO, CUSD" wrote:
>> 
>> Does anyone have any idea how to get the update count after executing an
>> updating data object. On the first thought, getNumOfRows() looks like it
but
>> it actually returns the num of rows in the result table, which is meaning
>> only if you are executing a query.
>> 
>> To do a select on the database before updating will mean an extra and
>> unnecessary database call and I have sworn to avoid that at all costs. If
>> anybody knows of any way to get the update count out of the data object,
>> please point me in the right direction.
>_________________________________________________________________________
>
>For help in using, subscribing, and unsubscribing to the discussion
>forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
>
>For dire need help, email: [EMAIL PROTECTED]
> 
_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to