2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-19 03:25:44 +00:00
cheat.sheets/sheets/_psql/indexes
2018-01-17 16:13:38 +00:00

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;