We can drop INDEX from table by using DROP INDEX statement, it is used to delete an index form a table.
Syntax:
ALTER TABLE table_name DROP INDEX index_name;
Example: Suppose you have created an INDEX named "person_user_name_idx" on the "user_name" column in the "user" table, now you can delete this INDEX by using the below statement
ALTER TABLE user DROP INDEX person_user_name_idx;
Hope this will help you :)
0 Comment(s)