T-SQL Tutorial

Msg 3701 Level 11 - Cannot drop the table


On Transact SQL language the Msg 3701 Level 11 - Cannot drop the table means that we have in our statement the table name misspelled or do not have permission to drop table.

Msg 3701 Level 11 Example:

We have the table mytable.

IdName
1Object 1
2Object 2

Invalid drop the table:

USE model;
GO
DROP TABLE mytable144;
GO

Message
Msg 3701, Level 11, State 5, Line 1
Cannot drop the table 'mytable144', because it does not exist or you do not have permission.

Correct drop the table:

USE model;
GO
DROP TABLE mytable;
GO

Message
Command(s) completed successfully.

Other error messages: