If there is not a previous table, it defaults to the importer's schema. In the following example, schema defaults to SCOTT for table DEPT.
Command Line Method
imp system/manager file=dba.dmp fromuser=scott tables="(emp,dept)"
Interactive Method
imp system/manager
...
Import file: expdat.dmp >
Enter insert buffer size (minimum is 4096) 30720>
Export file created by EXPORT:V07.01.03
List contents of import file only (yes/no): no >
Ignore create error due to object existence (yes/no): yes >
Import grants (yes/no): yes >
Import table data (yes/no): yes >
Import entire export file (yes/no): yes > no
Username: scott
Enter table names. Null list means all tables for user
Enter table name or . if done: dept
Enter table name or . if done: emp
Enter table name or . if done: .
Import Messages
Export file created by EXPORT:V07.01.03
Warning: the objects were exported by SCOTT, not by you
. importing SCOTT's objects into SYSTEM
. . importing table "DEPT" 7 rows imported
. . importing table "EMP" 22 rows imported
Import terminated successfully without warnings.
Command Line Method
imp adams/ez4me file=scott.dmp tables="(emp,dept)"
Interactive Method
imp adams/ez4me
...
Import file: expdat.dmp > scott.dmp
Enter insert buffer size (minimum is 4096) 30720>
Export file created by EXPORT:V07.01.03
Warning: the objects were exported by SCOTT, not by you
List contents of import file only (yes/no): no >
Ignore create error due to object existence (yes/no): yes >
Import grants (yes/no): yes > n
Import table data (yes/no): yes >
Import entire export file (yes/no): yes > n
Username: scott
Enter table names. Null list means all tables for user
Enter table name or . if done: emp
Enter table name or . if done: dept
Enter table name or . if done: .
Import Messages
Export file created by EXPORT:V07.01.03
Warning: the objects were exported by SCOTT, not by you
. importing SCOTT's objects into ADAMS
. . importing table "EMP" 22 rows imported
. . importing table "DEPT" 7 rows imported
Import terminated successfully without warnings.
Command Line Method
imp system/manager file=scott.dmp fromuser=scott touser=rosemary
tables=(*) [use an asterisk to specify all tables]
Import Messages
Export created by Oracle version EXPORT:V7.2
.. importing table "BONUS" 32 rows imported
.. importing table "SALGRADE" 10 rows imported