重命名Oracle表時出現(xiàn)ORA-26563錯誤 |
發(fā)布時間: 2012/9/4 17:21:05 |
如果在重命名Oracle表的時候出現(xiàn)ORA-26563: 不允許重命名此表錯誤,試著將表上的物化視圖日志drop就可以了。 sql>> create materialized view log on test_1; 實體化視圖日志已創(chuàng)建。 sql>> alter table test_1 rename to test_2;- alter table test_1 rename to test_2 sql>> drop materialized view log on test_1; 實體化視圖日志已刪除。 sql>> alter table test_1 rename to test_2; 表已更改。 RENAME前要檢查表后是否掛了物化視圖。 本文出自:億恩科技【www.allwellnessguide.com】 服務(wù)器租用/服務(wù)器托管中國五強!虛擬主機域名注冊頂級提供商!15年品質(zhì)保障!--億恩科技[ENKJ.COM] |