exp语法

[oracle@standby ~]$ exp -help
Export: Release 10.2.0.4.0 - Production on Wed Mar 2 19:07:53 2011
Copyright (c) 1982, 2007, Oracle.  All rights reserved.
 
You can let Export prompt you for parameters by entering the EXP
command followed by your username/password:
     Example: EXP SCOTT/TIGER
Or, you can control how Export runs by entering the EXP command followed
by various arguments. To specify parameters, you use keywords:
     Format:  EXP KEYWORD=value or KEYWORD=(value1,value2,...,valueN)
     Example: EXP SCOTT/TIGER GRANTS=Y TABLES=(EMP,DEPT,MGR)
               or TABLES=(T1:P1,T1:P2), if T1 is partitioned table
USERID must be the first parameter on the command line.
Keyword    Description (Default)      Keyword      Description (Default)
--------------------------------------------------------------------------
USERID     username/password          FULL         export entire file (N)
BUFFER     size of data buffer        OWNER        list of owner usernames
FILE       output files (EXPDAT.DMP)  TABLES       list of table names
COMPRESS   import into one extent (Y) RECORDLENGTH length of IO record
GRANTS     export grants (Y)          INCTYPE      incremental export type
INDEXES    export indexes (Y)         RECORD       track incr. export (Y)
DIRECT     direct path (N)            TRIGGERS     export triggers (Y)
LOG        log file of screen output  STATISTICS   analyze objects (ESTIMATE)
ROWS       export data rows (Y)       PARFILE      parameter filename
CONSISTENT cross-table consistency(N) CONSTRAINTS  export constraints (Y)
OBJECT_CONSISTENT    transaction set to read only during object export (N)
FEEDBACK             display progress every x rows (0)
FILESIZE             maximum size of each dump file
FLASHBACK_SCN        SCN used to set session snapshot back to
FLASHBACK_TIME       time used to get the SCN closest to the specified time
QUERY                select clause used to export a subset of a table
RESUMABLE            suspend when a space related error is encountered(N)
RESUMABLE_NAME       text string used to identify resumable statement
RESUMABLE_TIMEOUT    wait time for RESUMABLE
TTS_FULL_CHECK       perform. full or partial dependency check for TTS
VOLSIZE              number of bytes to write to each tape volume
TABLESPACES          list of tablespaces to export
TRANSPORT_TABLESPACE export transportable tablespace metadata (N)
TEMPLATE             template name which invokes iAS mode export
Export terminated successfully without warnings.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/23898243/viewspace-689574/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/23898243/viewspace-689574/

### Vue 中 `const` 的用法及示例 在 Vue 开发中,`const` 被广泛用来定义不可重新赋值的常量。这种特性非常适合用于那些在整个程序运行期间不需要更改其初始值的情况,比如配置项、API 地址或者静态数据等。 #### 基本语法 `const` 关键字用于声明一个常量,该常量一旦被初始化后就不能再指向另一个内存地址。这意味着如果尝试给由 `const` 声明的变量重新赋值,则会抛出错误[^1]。 ```javascript // 正确使用 const 定义不可变值 const apiUrl = "https://api.example.com"; console.log(apiUrl); // 尝试修改 const 值会导致报错 // apiUrl = "new-url"; // TypeError: Assignment to constant variable. ``` #### 结合 Vue 组件中的场景 当我们在 Vue 组件中需要一些固定的值时,可以利用 `const` 来确保这些值不会意外地被修改。例如,在组件选项中设置固定参数: ```javascript <template> <div>{{ title }}</div> </template> <script> export default { data() { return {}; }, created() { const TITLE_CONSTANT = "Welcome to My App"; // 不可变的标题 this.title = TITLE_CONSTANT; // 初始化实例属性 } }; </script> ``` 上述例子展示了如何在一个生命周期钩子函数 (`created`) 内部创建并绑定一个不可变字符串作为组件的一部分状态[^2]。 #### Vue 3 中与响应式系统的交互 随着 Vue 3 的推出,引入了新的 Composition API 和 `ref`/`reactive` 方法来处理更复杂的响应式需求。尽管如此,对于不需变更的基础数据类型或简单对象来说,仍然推荐采用 `const` 进行定义。需要注意的是,虽然可以用 `const` 定义基于 `ref` 创建的对象,但由于其实现机制的原因,实际存储的数据仍可通过 `.value` 属性访问和更新[^3]。 ```javascript import { ref } from 'vue'; function setup() { const count = ref(0); function increment() { count.value++; // 修改 .value 才能影响原始数据 } return { count, increment }; } ``` 这里强调一点,即使我们用了 `const` 对象本身不能重指其他位置,但是它的内部成员还是可以通过特定方法(如上例中的`.value`)来进行调整[^4]。 #### CSS 类名动态绑定案例 除了直接管理逻辑数值外,还可以借助于 `v-bind:class` 动态控制样式类的应用情况。此时也可以安全运用 `const` 设定默认类别名称[^5]: ```html <div :class="defaultClass">Sample Text</div> <script> export default { mounted(){ const defaultClass = ['active', 'highlight']; Object.assign(this.$data,{defaultClass}); } } </script> ``` 以上代码片段说明了怎样把预先设定好的一组CSS类名存入到局部作用域下的只读型数组之中,并最终应用于模板渲染过程里去。 ---
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值