i use
set nocount on inside the stored procedure at the beginning however the
Number of Rows Counted/Affected shows up when I execute the stored
procedure in query analyzer using execute sprocName. I also tried to
add the
SET NOCOUNT ON at the beginning of the procedure and it still shows the
number of rows affected.
if i set
set nocount on
exec sprocName then the result set does not show the number of rows
affected.
Any idea why this happens? I know that NOCOUNT is set on runtime not
parse time.
Thanks!
set nocount on inside the stored procedure at the beginning however the
Number of Rows Counted/Affected shows up when I execute the stored
procedure in query analyzer using execute sprocName. I also tried to
add the
SET NOCOUNT ON at the beginning of the procedure and it still shows the
number of rows affected.
if i set
set nocount on
exec sprocName then the result set does not show the number of rows
affected.
Any idea why this happens? I know that NOCOUNT is set on runtime not
parse time.
Thanks!
Comment