cancel
Showing results for 
Search instead for 
Did you mean: 

Materialized view with Parameter?

MCMartin
Participant
11,722

Is it possible to create a materialized view which uses a parameter during manual refresh? Something like

CREATE MATERIALIZED VIEW "DBA"."MyView" in system as 
select * from X where X.date > PARAM

So that e.g. each week the materialized view can be refreshed to reflect the values of last week or so...

View Entire Topic
Former Member

No, not at this time.

VolkerBarth
Contributor
0 Kudos

Am I right that a (CREATE) VARIABLE won't do, either, as it is connection-specific by default, and that would be non-deterministic, too?

(I'm asking as using such a variable would be a common way to parametrize a normal view.)