成功导入 dmp 文件后,我在 oracle 10g 上看不到 table
I cannot see table on oracle 10g after successful importing the dmp file
我是 Oracle 的新手
这里我们的客户提供了.dmp文件中的导出文件,.dmp文件是在6i oracle中导出的。
现在,我正在尝试在 oracle 10g Express Edition 中导入文件。我在 11g 企业版中使用 impdp 命令尝试了同样的事情,但是 没有用 我 发现了我的错误到; 只能通过 imp 命令完成。在 oracle 10g Express Edition 中做同样的事情。在这里,我进行了以下步骤:
创建用户(对于 shcema)
create user veshraj identified by veshraj
//granting some priviliges
grant connect, create, imp_full_database to veshraj
通过 CLI 实施 imp 命令
imp // press enter
//asks for user name and password i provide new user name and password
//it provides following lines
import file EXPDAT.DMP> c:\db\motor.dmp
// it asks for number of bytes and i provide the maximum value
List contents of import file only (yes/no): no >Y
Import entire export file (yes/no): no >Y
// provides following results
"ALTER SESSION SET "_LOAD_WITHOUT_COMPILE" = NONE"
"ALTER SESSION SET CURRENT_SCHEMA= "ADMIN""
"ALTER PACKAGE "PACK_DC" COMPILE REUSE SETTINGS TIMESTAMP '2007-02-22:11:13:" "07'"
"ALTER PACKAGE "PACK_MOTOR" COMPILE REUSE SETTINGS TIMESTAMP 2006-12-10:14:" "54:12'"
"ALTER PACKAGE "PACK_NW" COMPILE REUSE SETTINGS TIMESTAMP '2006-10-16:11:55:" "48'"
"ALTER TABLE "MISCH_REFUND" ADD CONSTRAINT "FK1" FOREIGN KEY ("PRIMARY_NO") " "REFERENCES "MISCH_MASTER" ("PRIMARY_NO") ENABLE "
"ALTER TABLE "AD_LEAVE" ADD CONSTRAINT "FK_AD_LEAVE" FOREIGN KEY ("EID") REFERENCES "AD_EMP" ("EID") ENABLE NOVALIDATE"
"ALTER TABLE "INT_DET" ADD CONSTRAINT "FK_INT_DET" FOREIGN KEY ("PRIMARY_NO""") REFERENCES "LAGANI" ("PRIMARY_NO") ENABLE "
"ALTER TABLE "LOAN_INF" ADD CONSTRAINT "FK_LOAN" FOREIGN KEY ("PRIMARY_NO") "REFERENCES "LOAN_DET" ("PRIMARY_NO") ENABLE "
"ALTER TABLE "MONC_DET" ADD CONSTRAINT "FK_MONC" FOREIGN KEY ("FISCAL_YEAR") REFERENCES "MONC_MASTER" ("FISCAL_YEAR") ENABLE NOVALIDATE"
// and many more alter table information
// final message is follows
Import terminated successfully without warnings.
但问题是我在 oracle 10g 的某处看不到任何表(导入的)。我应该为完成的事情做些什么。
List contents of import file only (yes/no): no >Y
这相当于 the SHOW parameter。你说是,所以列出了内容,没有导入任何数据。重新运行 您的导入,但拒绝该提示。
我是 Oracle 的新手 这里我们的客户提供了.dmp文件中的导出文件,.dmp文件是在6i oracle中导出的。 现在,我正在尝试在 oracle 10g Express Edition 中导入文件。我在 11g 企业版中使用 impdp 命令尝试了同样的事情,但是 没有用 我 发现了我的错误到; 只能通过 imp 命令完成。在 oracle 10g Express Edition 中做同样的事情。在这里,我进行了以下步骤:
创建用户(对于 shcema)
create user veshraj identified by veshraj //granting some priviliges grant connect, create, imp_full_database to veshraj
通过 CLI 实施 imp 命令
imp // press enter //asks for user name and password i provide new user name and password //it provides following lines import file EXPDAT.DMP> c:\db\motor.dmp // it asks for number of bytes and i provide the maximum value List contents of import file only (yes/no): no >Y Import entire export file (yes/no): no >Y // provides following results "ALTER SESSION SET "_LOAD_WITHOUT_COMPILE" = NONE" "ALTER SESSION SET CURRENT_SCHEMA= "ADMIN"" "ALTER PACKAGE "PACK_DC" COMPILE REUSE SETTINGS TIMESTAMP '2007-02-22:11:13:" "07'" "ALTER PACKAGE "PACK_MOTOR" COMPILE REUSE SETTINGS TIMESTAMP 2006-12-10:14:" "54:12'" "ALTER PACKAGE "PACK_NW" COMPILE REUSE SETTINGS TIMESTAMP '2006-10-16:11:55:" "48'" "ALTER TABLE "MISCH_REFUND" ADD CONSTRAINT "FK1" FOREIGN KEY ("PRIMARY_NO") " "REFERENCES "MISCH_MASTER" ("PRIMARY_NO") ENABLE " "ALTER TABLE "AD_LEAVE" ADD CONSTRAINT "FK_AD_LEAVE" FOREIGN KEY ("EID") REFERENCES "AD_EMP" ("EID") ENABLE NOVALIDATE" "ALTER TABLE "INT_DET" ADD CONSTRAINT "FK_INT_DET" FOREIGN KEY ("PRIMARY_NO""") REFERENCES "LAGANI" ("PRIMARY_NO") ENABLE " "ALTER TABLE "LOAN_INF" ADD CONSTRAINT "FK_LOAN" FOREIGN KEY ("PRIMARY_NO") "REFERENCES "LOAN_DET" ("PRIMARY_NO") ENABLE " "ALTER TABLE "MONC_DET" ADD CONSTRAINT "FK_MONC" FOREIGN KEY ("FISCAL_YEAR") REFERENCES "MONC_MASTER" ("FISCAL_YEAR") ENABLE NOVALIDATE" // and many more alter table information // final message is follows Import terminated successfully without warnings.
但问题是我在 oracle 10g 的某处看不到任何表(导入的)。我应该为完成的事情做些什么。
List contents of import file only (yes/no): no >Y
这相当于 the SHOW parameter。你说是,所以列出了内容,没有导入任何数据。重新运行 您的导入,但拒绝该提示。