T-SQL Tutorial

Msg 15009 Level 16 - The object name does not exist


Transact sql error message Msg 15009 Level 16 - The object name does not exist in database or is invalid for this operation. Check and write the correct object name that you want to rename.





Msg 15009 Level 16 Example:

Invalid:

USE model;
GO
EXEC sp_helpindex N'Customers111';
GO

Message
Msg 15009, Level 16, State 1, Procedure sp_helpindex, Line 43
The object 'Customers111' does not exist in database 'model' or is invalid for this operation.

Correct:

USE model;
GO
EXEC sp_helpindex N'Customers';
GO

Other error messages: