首先運(yùn)行 cmd 然后: C:\Documents and Settings\wzq>imp Import: Release 10.2.0.1.0- Production on 星期日 11月 713:29:392010 Copyright (c) 1982, 2005, Oracle. All rights reserved. 分別輸入 用戶名 密碼 Username: hr Password: Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0- Production 下面提示你 輸入 要導(dǎo)入的 dmp 文件名 Import file: EXPDAT.DMP > Enter insert buffer size (minimum is 8192) 30720> Export file created by EXPORT:V10.02.01 via conventional path import done in ZHS16GBK character set and AL16UTF16 NCHAR character set import server uses WE8MSWIN1252 character set (possible charset conversion) 這里問,是否僅僅列內(nèi)容,不導(dǎo)入 List contents of import file only (yes/no): no > 這里問 如果對象已經(jīng)存在了, 是否忽略創(chuàng)建的錯誤 Ignore create error due to object existence (yes/no): no > 這里問,是否導(dǎo)入權(quán)限 Import grants (yes/no): yes > no 這里問,是否導(dǎo)入表數(shù)據(jù) Import table data (yes/no): yes > 這里問,是否導(dǎo)入整個文件 Import entire export file (yes/no): no > yes . importing HR's objects into HR . importing HR's objects into HR . . importing table "A"8 rows imported Import terminated successfully without warnings. 然后就結(jié)束了。