Purpose
Specifies that a schema-mode import is to be performed.
Syntax and Description
SCHEMAS=schema_name [,...]
If you have the IMP_FULL_DATABASE
role, you can use this parameter to perform a schema-mode import by specifying a single schema other than your own or a list of schemas to import. First, the schemas themselves are created (if they do not already exist), including system and role grants, password history, and so on. Then all objects contained within the schemas are imported. Nonprivileged users can specify only their own schemas. In that case, no information about the schema definition is imported, only the objects contained within it.
Example
The following is an example of using the SCHEMAS
parameter. You can create the expdat.dmp
file used in this example by running the example provided for the Export SCHEMAS
parameter.
> impdp hr/hr SCHEMAS=hr,oe DIRECTORY=dpump_dir1 LOGFILE=schemas.log
DUMPFILE=expdat.dmp
The hr
and oe
schemas are imported from the expdat.dmp
file. The log file, schemas.log
, is written to dpump_dir1
.
No comments:
Post a Comment