sql server - SET NOCOUNT ON Still returns a "nn row(s) affected" message -


I have a simple stored procedure that only selects data from some tables and only 1 input is the way I have installed my stored procedure, it is as follows:

  Processing DBO.prog_en (@Input) Set the next on start (Go to selection statement here) Finally catch End cache and  

Despite the addition of SET NOCOUNT, when I archive I call this procedure, even when I get the message "NAN line (s) affected".

I tried to change the location of SET NOCOUNT, but it does not help with anything.

The second thing that I saw is the return of my stored procedure:

  WARNING: Null value ends with an overall or other SET operation  

Message

Is this warning set off at the signal stop? Syntax for

Your process is incorrect. It should be:

  CREATE PROCEDURE dbo.Proc_Name @ input AS BEGIN ...  

bracket parameters are invalid around and you need keywords AS. I will correct it and make sure that your prop is actually compiling.
Warning means that you are collecting an empty column and it will return some value, even if it is null.


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -