The '%.*ls' procedure attempted to return a status of NULL, which is not allowed. A status of 0 will be returned instead.

Error Message:
The ‘%.*ls’ procedure attempted to return a status of NULL, which is not allowed. A status of 0 will be returned instead.
The ‘%.*ls’ procedure attempted to return a status of NULL, which is not allowed. A status of 0 will be returned instead. Severity level:
10. Description:
This informational error message appears when you execute a procedure that returns NULL as status. Consequences:
Resolution:
Error of this severity level are informational errors that do not have an effect on the statement. Versions:
All versions of SQL Server. Example(s):
IF OBJECT_ID (‘dbo.p1’) IS NOT NULL
    DROP PROCEDURE dbo.p1;
GO CREATE PROCEDURE dbo.p1
AS
RETURN NULL;
GO EXEC dbo.p1; Remarks:
In the above example we try to call dbo.p1 which return NULL as status. This raises the error. ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *