OraclerUser
Programmer
Hi,
I'm trying to create a very simple materialized view, basically a "select <column> from table". Here it is:
CREATE MATERIALIZED VIEW REGISTRANT_MV
BUILD IMMEDIATE
USING INDEX
REFRESH FAST ON DEMAND START WITH sysdate+2/1440 NEXT sysdate + 10/1440
ENABLE QUERY REWRITE
AS
SELECT registrant_id, person_id, first_name, last_name, badge_name, address_1,
address_2, city, state_prov, postal_cd, email, phone, fax, registration_dt,
cancellation_dt, guest_of, create_dt, create_by, update_dt, update_by, company,
country, preregistration, badge_city, badge_state_prov, badge_role, badge_role_text,
maps_import_fl, mobile_phone, kw_commercial_int_fl, kw_luxury_int_fl
FROM REGISTRANT@univ_qa;
I've created a plan vanilla materialized view log:
CREATE MATERIALIZED VIEW LOG ON REGISTRANT;
And, I'm receiving the ORA-30353 expression not supported for query rewrite. I've read up on this error but the indications that I've seen from googling don't seem to apply to this select statement.
Any help/thoughts would be appreciated!
Thanks!
I'm trying to create a very simple materialized view, basically a "select <column> from table". Here it is:
CREATE MATERIALIZED VIEW REGISTRANT_MV
BUILD IMMEDIATE
USING INDEX
REFRESH FAST ON DEMAND START WITH sysdate+2/1440 NEXT sysdate + 10/1440
ENABLE QUERY REWRITE
AS
SELECT registrant_id, person_id, first_name, last_name, badge_name, address_1,
address_2, city, state_prov, postal_cd, email, phone, fax, registration_dt,
cancellation_dt, guest_of, create_dt, create_by, update_dt, update_by, company,
country, preregistration, badge_city, badge_state_prov, badge_role, badge_role_text,
maps_import_fl, mobile_phone, kw_commercial_int_fl, kw_luxury_int_fl
FROM REGISTRANT@univ_qa;
I've created a plan vanilla materialized view log:
CREATE MATERIALIZED VIEW LOG ON REGISTRANT;
And, I'm receiving the ORA-30353 expression not supported for query rewrite. I've read up on this error but the indications that I've seen from googling don't seem to apply to this select statement.
Any help/thoughts would be appreciated!
Thanks!