mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-15 06:12:59 +00:00
7 lines
176 B
Plaintext
7 lines
176 B
Plaintext
-- Creating an index with the specified name on a table
|
|
CREATE [UNIQUE] INDEX index_name
|
|
ON table (column,...)
|
|
|
|
-- Removing a specified index from table
|
|
DROP INDEX index_name;
|