Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Materialized View/Index Organization

Status
Not open for further replies.

Dagon

MIS
Jan 30, 2002
2,301
GB
Has anyone managed to create a materialized view with index organization ? I have an MV which only has one column, so I wanted it to be index organized, but I'm really struggling with the syntax for it. My latest attempt is:

Code:
create materialized view mv_annuity_tcns using index refresh on demand
organization index pctthreshold 90 including annuitytcn overflow tablespace sml_d 
as
SELECT
       DISTINCT
       TRIM(COLUMN_72)       ANNUITYTCN
FROM SRC_FEED_DATA
WHERE SRC_SYS_FEED_ID = 666
and TRIM(COLUMN_72) IS NOT NULL

Whatever I try, I get ORA-905, missing keyword. Unfortunately, it gives me no clue as to which keyword is missing and the manual is none too helpful.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top