DROP INDEX

Name

DROP INDEX  --  Removes an index from a database データベースからインデックスを削除します。

Synopsis

DROP INDEX index_name
  

入力

index_name

The name of the index to remove.

削除するインデックスの名前です。

出力

DROP

The message returned if the index is successfully dropped.

インデックスが正常に削除されたときに戻るメッセージです。

ERROR: index "index_name" nonexistent

This message occurs if index_name is not an index in the database.

index_name が そのデータベースのインデックスでない場合に出力されます。

説明

DROP INDEX drops an existing index from the database system. To execute this command you must be the owner of the index.

DROP INDEX はデータベースシステムに 存在しているインデックスを削除します。このコマンドの 実行にはそのインデックスの所有者である必要があります。

注意事項

DROP INDEX is a Postgres language extension.

DROP INDEXPostgres の拡張言語です。

Refer to the CREATE INDEX statement for information on how to create indexes.

インデックスをどう作成するかの情報は、 CREATE INDEX 文を参照して下さい。

使用法

This command will remove the title_idx index:

このコマンドはインデックス title_idx を 削除します:

    DROP INDEX title_idx;
   

互換性

SQL92

SQL92 defines commands by which to access a generic relational database. Indexes are an implementation-dependent feature and hence there are no index-specific commands or definitions in the SQL92 language.

SQL92 は一般的なリレーショナルデータ ベースにアクセスするコマンド群を定義しています。 インデックスは実装依存の機能ですので、インデックスに 特有なコマンドまたは定義は SQL92 言語 にありません。