Code Inspection: Index is dependent on column
Reports cases when you try to drop columns from indexed tables. This inspection is available in Microsoft SQL Server and Sybase ASE.
Example (Microsoft SQL Server):
You cannot delete the
col column because it is in the indexed table. To delete the column, you need to delete the
aaaa index first (for example, DROP INDEX aaaa).
Suppress an inspection in the editor
Place the caret at the highlighted line and press Alt+Enter or click .
Click the arrow next to the inspection you want to suppress and select the necessary suppress action.