PostgreSQL 查询、创建、删除索引

mac2022-06-30  95

--查询索引 select * from pg_indexes where tablename='tab1'; --创建索引 tab1_bill_code_index 为索引名, create index tab1_bill_code_index on "db1".tab1(bill_code); --删除索引 drop index tab1_bill_code_index ;

 

转载于:https://www.cnblogs.com/personblog/p/11368104.html

最新回复(0)