Example Of Alter Materialized View - HP Neoview SQL Reference Manual

Hide thumbs Also See for Neoview SQL:
Table of Contents

Advertisement

rows in the materialized view, an error will occur that indicates a REFRESH needs to be performed
before altering the materialized view to add IGNORE CHANGES on the base table. Only a base
table that is in the FROM clause of the query expression of the materialized view can be added
to the IGNORE CHANGES list. A base table of the materialized view that is already in the
IGNORE CHANGES list can be removed from the IGNORE CHANGES list by altering the
materialized view using the REMOVE IGNORE CHANGES ON clause.

Example of ALTER MATERIALIZED VIEW

This example alters a materialized view:
ALTER MATERIALIZED VIEW sales_store ADD IGNORE CHANGES ON store
ALTER MATERIALIZED VIEW Statement
41

Advertisement

Table of Contents
loading

Table of Contents