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.



Related Articles :

  • No Related Articles Found

No comments yet... Be the first to leave a reply!

Software Reviews | Book Reviews | FAQs | Tips | Articles | Performance Tuning | Audit | BI | Clustering | Developer | Reporting | DBA | ASP.NET Ado | Views tips | | Developer FAQs | Replication Tips | OS Tips | Misc Tips | Index Tuning Tips | Hints Tips | High Availability Tips | Hardware Tips | ETL Tips | Components Tips | Configuration Tips | App Dev Tips | OLAP Tips | Admin Tips | Software Reviews | Error | Clustering FAQs | Performance Tuning FAQs | DBA FAQs |