本文為原創文章,轉載請注明出處: http://blog.csdn.net/msdnchina/article/details/38782657
impdp 導入物化視圖(mv)時報錯 :ORA-31685: Object type MATERIALIZED_VIEW
db 版本為10.2.0.4Processing object type SCHEMA_EXPORT/MATERIALIZED_VIEW ORA-31685: Object type MATERIALIZED_VIEW:"SCOTT"."LEITEST0719" failed due to insufficient privileges. Failing sql is: CREATE MATERIALIZED VIEW "SCOTT"."LEITEST0719" USING ("LEITEST0719", (8, 'FS', 1, 0, 0, "SCOTT", "LEITEST0719", '2013-07-24 17:21:42', 0, 52219, '1950-01-01 12:00:00', '', 0, 8912636, 0, NULL, (1, "OBJECT_ID", "OBJECT_ID", 0, 321, 0)), 2097249, 8, ('1950-01-01 12:00:00', 4, 0, 0, 8912636, 0, 0, 1, NULL, NULL), '@BBB') REFRESH FAST WITH PRIMARY KEY AS SELECT "LEITEST0719"."OWNER" "OWNER"," Processing object type SCHEMA_EXPORT/TABLE/MATERIALIZED_VIEW_LOG處理方法為: