A
Andy Fish
(this is related to my previous post yesterday but I think i'm asking a
distinct question so it's a new post)
say I have a stored procedure that does 3 updates:
update table1 set .... where ...
update table2 set .... where ...
update table3 set .... where ...
if I execute this using management studio, the output window shows (for
instance):
(1 row(s) affected)
(5 row(s) affected)
(10 row(s) affected)
however, if I execute it in ado.net using ExecuteReader, I just get a single
resultset with 16 rows affected. RxecuteNonQuery and ExecuteScalar don't
help either.
is there any way at all to get the individual row counts from ado.net?
Thanks
Andy
distinct question so it's a new post)
say I have a stored procedure that does 3 updates:
update table1 set .... where ...
update table2 set .... where ...
update table3 set .... where ...
if I execute this using management studio, the output window shows (for
instance):
(1 row(s) affected)
(5 row(s) affected)
(10 row(s) affected)
however, if I execute it in ado.net using ExecuteReader, I just get a single
resultset with 16 rows affected. RxecuteNonQuery and ExecuteScalar don't
help either.
is there any way at all to get the individual row counts from ado.net?
Thanks
Andy