DF196: DROP INDEX with two-part index name is used.
Last modified: May 28, 2025
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
Was this page helpful?
Want to find out more?
Overview
Take a quick tour to learn all about the key benefits delivered by dbForge Studio for SQL Server.
All features
Get acquainted with the rich features and capabilities of the tool in less than 5 minutes.
Request a demo
If you consider employing this tool for your business, request a demo to see it in action.