mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-19 03:25:44 +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;
|