Languages
[Edit]
EN

MS SQL Server - remove index from existing table link---

0 points
Created by:
Inferio
328

TODO: index na końcu 

 

In this article, we would like to show you how to remove an index from the existing table in MS SQL Server.

Quick solution:

ALTER TABLE [table_name]
DROP INDEX [index_name];

or 

DROP INDEX [index_name] ON [table_name];

Practical example

In this example, we will remove the salary_index created in the previous article.

Query:

ALTER TABLE [users]
DROP INDEX [salary_index];

or

DROP INDEX [salary_index] ON [users];

Related posts

Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.

MS SQL Server - indexes

Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join