Oracle中建立物化视图报错 今天在建立视图的时候,报了一个错:ORA-01723: zero-length columns are not allowed. 建视图的语句: create materialized view VW_XX refresh force on demand as select '' f_a,b f_b from xx 根据后面的语句创建视图,都是可以的,但是根据查询语句创建物化视图就出现错误了.网上找了一下,原因是:ORA-01723是ORACLE规定因为列的长度最…
① 源数据库建立物化视图日志 drop MATERIALIZED VIEW LOG ON ORG_BASEINFO/ CREATE MATERIALIZED VIEW LOG ON ORG_BASEINFOwith rowid,PRIMARY KEYincluding new values /drop MATERIALIZED VIEW LOG ON ORG_MOREINFO/CREATE MATERIALIZED VIEW LOG ON ORG_MOREINFOwith rowid,PRIMA…