This topic contains the following versions of the ALTER TRIGGER statement syntax: V10.2-11.1 V9.2-10.1 V8.0-9.0 Oracle V10.2 Description Example ──┬────────────────────────────┬──SELECT─┬──────┬─┬────────────┬─ select_list ──────────── └─ subquery_factoring_clause ──┘ └─ hint ─┘ ├┬─ DISTINCT ─┬┤ │└─ UNIQUE ───┘│ └─ ALL ────────┘ v───────,────────┐ v─────────────────────────────┐ ── FROM ──┬─ table_reference ─┴┬──┬──────────────┬─┬───────────────────────────┬┴─────────── ├─ join_clause ──────┤ └─ where_clause ─┘ └─ hierarchical_query_clause ─┘ └─( join_clause )────┘ ─┬─────────────────┬┬──────────────────┬┬──────────────┬┬───────────────────────────┬─── └─ group_by_clause ─┘└─ HAVING condition ─┘└─ model_clause ─┘├─ UNION ─┬─────┬┬─(subquery)─┘ │ └─ALL─┘│ ├─ INTERSECT ────┤ └─ MINUS ────────┘ ─┬─────────────────┬──────────────────────────────────────────────────────────────────── └─ order_by_clause ─┘ Oracle V9.2-10.1 Description Example ──┬────────────────────────────┬──SELECT─┬──────┬─┬────────────┬─ select_list ─────────────── └─ subquery_factoring_clause ──┘ └─ hint ─┘ ├┬─ DISTINCT ─┬┤ │└─ UNIQUE ───┘│ └─ ALL ────────┘ v───────,────────┐ v─────────────────────────────┐ ── FROM ── table_reference ─┴─┬─────────────────┬─┬───────────────────────────┬┴─────────────── └─ WHERE condition ─┘ └─ hierarchical_query_clause ─┘ ─┬──────────────────┬┬─────────────────┬┬───────────────────────────┬┬─────────────────┬─── └─ HAVING condition ─┘└─ group_by_clause ─┘├─ UNION ─┬─────┬┬─(subquery)─┘└─ order_by_clause ─┘ │ └─ALL─┘│ ├─ INTERSECT ────┤ └─ MINUS ────────┘ Oracle V8.0-9.0 Description ──SELECT──┬──────────┬─┬─ * ──────────────────────────────────┬────── ├─ DISTINCT ─┤ │ v──────────── , ───────────────────┐ │ └─ ALL ──────┘ └──┬─┬─────────┬─┬─ table ────┬─ .* ─┬─┴─┘ │ └─ schema. ─┘ ├─ view ─────┤ │ │ └─ snapshot ─┘ │ └── expr ─┬─────────────────┬─────┘ └─┬────┬── c_alias ─┘ └─AS─┘ v──────────────────── , ─────────────────┐ ──FROM──┬─────────┬┬ table ───┬┬───────┬┬───────┬─┴─┬───────────────┬─── ├─ schema. ─┘├ view ────┤└ @dblink ┤└ t_alias ┘ └ WHERE condition ┘ │ └ snapshot ┘ │ └──(subquery)────────────────┘ v────────────────────────────────────────────────┐ ──┬──────────────────────────────────────────────┬┴─────────────────── ├┬──────────────────────┬─ CONNECT BY condition ─┤ │└─ START WITH condition ─┘ │ │ v───,───┐ │ └── GROUP BY ────expr─┴───┬──────────────────┬───┘ └─ HAVING condition ─┘ ──┬───────────────────┬──┬─────────────────────────┬───────────────── ├─ WITH READ ONLY ────┤ └─┬─ UNION ─────┬──subquery─┘ └─ WITH CHECK OPTION ─┘ ├─ UNION ALL ─┤ ├─ INTERSECT ─┤ └─ MINUS ─────┘
↧