There are no matching rows on which to report.

Error Message:
Msg 15330, Level 11, State 1, Procedure sp_helprotect, Line 291
There are no matching rows on which to report.

Severity level:
11.

Description:
This error message appears when you try to call the sp_helprotect procedure with a parameter combination for which there exists no resultset.

Consequences:
The T-SQL statement can be parsed, but causes the error at runtime.

Resolution:
Error of the Severity level 11 are generated by the user and can be fixed by the SQL Server user. The statement cannot be run this way. The parameter combination must be valid so that a result set can be returned.

Versions:
All versions of SQL Server.

Example(s):
USE master;
EXEC sp_helprotect ‘titles’;

Remarks:
In the above example we try to call sp_helprotect in the master database with the value ‘titles’ for the objectname parameter. Since this object is unknown in the master database, the error is raised.

]]>

Leave a comment

Your email address will not be published.