oracle的多个exclude,expdp 中使用exclude and include(两个实例)

都是在Windows下做测试的:

C:\Users\Admin.LONG1-LI>expdp scott/bruce123 directory=temp_dir dumpfile=tt_in.dmp EXCLUDE=TABLE:\"in(select table_name from user_tables wh

re table_name like 'TT%')\"

Export: Release 10.2.0.1.0 - Production on Thursday, 24 September, 2015 10:48:56

Copyright (c) 2003, 2005, Oracle.  All rights reserved.

Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production

With the Partitioning, OLAP and Data Mining options

Starting "SCOTT"."SYS_EXPORT_SCHEMA_01":  scott/******** directory=temp_dir dumpfile=tt_in.dmp EXCLUDE=TABLE:"in(select table_name from use

_tables where table_name like 'TT%')"

Estimate in progress using BLOCKS method...

Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA

Total estimation using BLOCKS method: 192 KB

Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA

Processing object type SCHEMA_EXPORT/TABLE/TABLE

Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX

Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT

Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS

Processing object type SCHEMA_EXPORT/TABLE/COMMENT

Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT

. . exported "SCOTT"."DEPT"                              5.656 KB       4 rows

. . exported "SCOTT"."EMP"                               7.820 KB      14 rows

. . exported "SCOTT"."SALGRADE"                          5.585 KB       5 rows

. . exported "SCOTT"."BONUS"                                 0 KB       0 rows

Master table "SCOTT"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded

******************************************************************************

Dump file set for SCOTT.SYS_EXPORT_SCHEMA_01 is:

E:\APP\BRUCE\TT_IN.DMP

Job "SCOTT"."SYS_EXPORT_SCHEMA_01" successfully completed at 10:49:06

C:\Users\Admin.LONG1-LI>expdp scott/bruce123 directory=temp_dir dumpfile=tt_in.dmp INCLUDE=TABLE:\"in(select table_name from user_tables whe

re table_name like 'TT%')\"

Export: Release 10.2.0.1.0 - Production on Thursday, 24 September, 2015 10:50:01

Copyright (c) 2003, 2005, Oracle.  All rights reserved.

Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production

With the Partitioning, OLAP and Data Mining options

Starting "SCOTT"."SYS_EXPORT_SCHEMA_01":  scott/******** directory=temp_dir dumpfile=tt_in.dmp INCLUDE=TABLE:"in(select table_name from user

_tables where table_name like 'TT%')"

Estimate in progress using BLOCKS method...

Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA

Total estimation using BLOCKS method: 128 KB

Processing object type SCHEMA_EXPORT/TABLE/TABLE

. . exported "SCOTT"."TT1"                               4.945 KB       3 rows

. . exported "SCOTT"."TT2"                               4.929 KB       3 rows

Master table "SCOTT"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded

******************************************************************************

Dump file set for SCOTT.SYS_EXPORT_SCHEMA_01 is:

E:\APP\BRUCE\TT_IN.DMP

Job "SCOTT"."SYS_EXPORT_SCHEMA_01" successfully completed at 10:50:09

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
在 Vue 3 ,`include` 和 `exclude` 属性用于配置 `<keep-alive>` 组件的缓存策略,可以接受多个值。你可以通过数组的形式将多个组件名称传递给这两个属性。 以下是一个示例,展示了如何设置 `include` 和 `exclude` 属性的多个值: ```vue <template> <div> <h2>Home Component</h2> <button @click="toggleShowChild">Toggle Show Child</button> <keep-alive :include="includeComponents" :exclude="excludeComponents"> <component :is="currentComponent" v-if="showChild" /> </keep-alive> </div> </template> <script> import ChildComponent1 from './ChildComponent1.vue'; import ChildComponent2 from './ChildComponent2.vue'; import ChildComponent3 from './ChildComponent3.vue'; export default { components: { ChildComponent1, ChildComponent2, ChildComponent3 }, data() { return { showChild: false, currentComponent: 'ChildComponent1', includeComponents: ['ChildComponent1', 'ChildComponent2'], excludeComponents: ['ChildComponent3'] }; }, methods: { toggleShowChild() { this.showChild = !this.showChild; } } }; </script> ``` 在上述示例,我们使用了 `includeComponents` 和 `excludeComponents` 数组来设置 `include` 和 `exclude` 属性的多个值。 `includeComponents` 数组包含了需要被缓存的组件名称,即只有这些组件会被 `<keep-alive>` 缓存。 `excludeComponents` 数组包含了不需要被缓存的组件名称,即这些组件不会被 `<keep-alive>` 缓存。 注意,在示例,我们使用了动态组件 `<component>` 来根据 `currentComponent` 的值渲染相应的组件,并将其包裹在 `<keep-alive>` 组件。 希望以上解答对你有所帮助。如有任何进一步的问题,请随时提问。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值