oracle的942錯誤表示的是表或者視圖不存在;出現(xiàn)該錯誤的原因是exp版本與數(shù)據(jù)庫版本不相同,雖然安裝包已安裝成功,但表中的相關(guān)信息并未更新,可用“select comp_id,version from dba_registry”查看。
本教程操作環(huán)境:Windows10系統(tǒng)、Oracle 11g版、Dell G3電腦。
oracle的942錯誤是什么
ORA-00942: 表或視圖不存在;
出現(xiàn)該錯誤的原因是:由于exp的版本與數(shù)據(jù)庫的版本不相同,
雖然安裝包已經(jīng)安裝成功,但是數(shù)據(jù)字典表中的相關(guān)信息并未更新,
通過該語句查看
已連接。
SQL> shutdow immediate
數(shù)據(jù)庫已經(jīng)關(guān)閉。
已經(jīng)卸載數(shù)據(jù)庫。
ORACLE 例程已經(jīng)關(guān)閉。
SQL> startup migrate
ORACLE 例程已經(jīng)啟動。
Total System Global Area 1687760036 bytes Fixed Size 457892 bytes Variable Size 486539264 bytes Database Buffers 1199570944 bytes Redo Buffers 1191936 bytes
數(shù)據(jù)庫裝載完畢。
網(wǎng)管網(wǎng)bitsCN.com
數(shù)據(jù)庫已經(jīng)打開。
SQL> spool d:catpatch.log SQL> @d:oracleora92rdbmsadmincatpatch.sql SQL> spool off
注:在catpatch中會調(diào)用catexp來修改exp
至此成功修改exp
使用exp導(dǎo)出成功DD
打完patch后,
SQL>shutdown immediate SQL>startup 正常打開, 942 oracle Oracle
推薦教程:《Oracle視頻教程》