一、用法
1、单值INCLUDE=TABLE:"= 'EMP'"
INCLUDE=TABLE:"= 'DEPT'"
2、多值
INCLUDE=TABLE:"IN ('EMP', 'DEPT')"
3、模糊匹配
INCLUDE=TABLE:"LIKE '%E%'"
INCLUDE=TABLE:"LIKE '%P%'"
二、引号转译
1、Windows:D:\> expdp system/manager DIRECTORY=my_dir DUMPFILE=exp_tab.dmp LOGFILE=exp_tab.log SCHEMAS=scott INCLUDE=TABLE:\"IN ('EMP', 'DEP')\"
2、Unix:
% expdp system/manager DIRECTORY=my_dir DUMPFILE=exp_tab.dmp LOGFILE=exp_tab.log SCHEMAS=scott INCLUDE=TABLE:\"IN \'EMP\',\'DEP\' \"三、内容
要确定可以指定的对象类型的名称与排除,包括,您可以运行以下查询:1、数据库级导入导出export/import:
SELECT named, object_path, comments FROM database_export_objects WHERE object_path NOT LIKE '%/%';2、表结构级导入导出 export/import:
SELECT named, object_path, comments FROM schema_export_objects WHERE object_path NOT LIKE '%/%';3、表级导入导出 export/import:
SELECT named, object_path, comments FROM table_export_objects WHERE object_path NOT LIKE '%/%';4、for TABLE dependent object types (10.2.0.x only):
SELECT named, object_path, comments FROM database_export_objects WHERE object_path LIKE 'TABLE/%';