I have the following query to create a mat view
CREATE MATERIALIZED VIEW IB_CONT1
REFRESH FAST ON DEMAND WITH ROWID
AS
SELECT
CUST,
CONSEQ,
STD,
ENDD,
ADD
FROM
ADMIN.CONTACT@IB_DBLINK;
But it displays an error as
ADMIN.CONTACT@IB_DBLINK
*
ERROR at line 11:
ORA-12018: following error encountered during code generation for
"OWNER"."IB_CONT1"
ORA-00942: table or view does not exist
But when i query the table i displays data.
SQL> select count(*) from admin.contact@ib_dblink;
COUNT(*)
----------
100
what could be the reason?
Any help will be highly appreciated.
Thanks in advance.