InvantiveのドキュメントInvantive Cloudの一部
Invantive サポートフォーラムログイン / 会員登録

DROP VIEW文 (dropViewStatement)

構文

%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart LR
    dropViewStatement_start((START))
    dropViewStatement_start --> dropViewStatement_0_0['DROP']:::quoted
    dropViewStatement_0_0 --> dropViewStatement_0_1['VIEW']:::quoted
    dropViewStatement_0_1 --> dropViewStatement_0_2[tableIdentifier]
    dropViewStatement_0_2 --> dropViewStatement_end((END))

目的

DROP VIEW文は、データディクショナリからビューを削除します。 完了後、開始されるクエリではそのビューを使用できなくなります。

IF EXISTS句(25.0.41および24.0.778から使用可能)を使用する場合、同じ名前のビューの以前のバージョンが存在するときにのみ、そのビューが削除されます。