懒龙谷
  • Home
  • Categories
  • Tags
  • Archives

db2_export

db2 导出数据

  1. 基本形式:

    export to filename of del select * from table_name

  2. 配置选项

of del 后添加 modified by

  1. coldel$ coldel表示字段之间的间隔符,默认情况为逗号
  2. chardel'' chardel表示字符串字段用什 么符号引用,默认情况下为一对双引号括起来, 不使用即为 nochardel
  3. decplusblank decplusblank表示对于十进制数据类型,用空格代替最前面的加号
  4. codepa A delimiter is not valid or is used more than once. ge=1208 如果coldel使用 | 或出现 A delimiter is not valid or is used more than once时使用

this guy is lazy, nothing leave

Comments
comments powered by Disqus

  • « java各种问题
  • db2查询本机数据库 »

Published

May 4, 2014

Category

db2

Stay in Touch

  • Powered by Pelican. Theme: Elegant by Talha Mansoor