Hi All
I have written stored procedure which has 2 Insert queries and 1 Update query inside it. Of all these,either insert queries or update query are executed at a time. Now my problem is to get ROWCOUNT
in each case. Say suppose if insert operations are executed,then I want stored procedure to return @@ROWCOUNT
to the calling application, so that the application will be aware of whether the required operations executed correctly or not. Can anyone suggest/tell me how can I get the rows affected from the stored procedure?
Thanks & Regards
Padma