DF196: DROP INDEX with two-part index name is used.
The topic describes the DF196 T-SQL code analysis rule.
Category
Deprecated
Message
DROP INDEX with two-part index name is used.
Description
It is not recommended to use this syntax as it is deprecated and will be removed in a future version of Microsoft SQL Server. Instead, use DROP INDEX < name > ON < table_name >.
Noncompliant code example
DROP INDEX dbo.DemoTable.MyIndex;
GO
Compliant solution
DROP INDEX MyIndex ON dbo.DemoTable;
GO
Want to Find out More?
Take a quick tour to learn all about the key benefits delivered by dbForge Studio for SQL Server.
Get acquainted with the rich features and capabilities of the Studio in less than 5 minutes.
If you consider employing the Studio for your business, request a demo to see it in action.
Ready to start using dbForge Studio for SQL Server?