Restrictions on Views and Detail Tables
There are certain restrictions on views and their detail tables.
-
When a view is referenced in the
FROMclause of aSELECTstatement, its name is replaced by its definition as a derived table during SQL compilation. The content of the derived table is said to be materialized, but this materialization is temporary and only exists for the duration of the SQL statement. For example, if both the view and the referencing select specify aggregates, the view is materialized before its result can be joined with other tables of the select. -
A view cannot be dropped with a
DROP TABLEstatement. You must use theDROP VIEWstatement. -
A view cannot be altered with an
ALTER TABLEstatement. -
Referencing a view can fail due to dropped or altered detail tables.