2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-05 12:00:16 +00:00
cheat.sheets/sheets/_psql/indexes

7 lines
176 B
Plaintext
Raw Normal View History

2018-01-17 16:13:38 +00:00
-- Creating an index with the specified name on a table
2018-01-07 11:42:08 +00:00
CREATE [UNIQUE] INDEX index_name
ON table (column,...)
2018-01-17 16:13:38 +00:00
-- Removing a specified index from table
2018-01-07 11:42:08 +00:00
DROP INDEX index_name;