一、unl文件导入oracle

1、在Oracle上建表a

2、vi一个a.ctl文件,内容如下:

load   data
infile '/home/see/nginrun/importNA/a.unl'
insert into   table   a
fields  terminated  by '|'
  (C1,
  C2,
  C3,
  C4,
  C5,
  C6,
  C7,
  C8
  )


3、sqlldr  sdu/sdu  control=a.ctl  direct=y log=a.log


二、oracle导出unl

上传oraexporter
./oraexporter user=sdu password=sdu tns=10.166.46.230 query="select * from a" file=a1.unl printtime

相关文章:

  • 2022-12-23
  • 2021-12-13
  • 2022-01-01
  • 2021-08-27
  • 2021-04-21
  • 2021-12-30
猜你喜欢
  • 2022-02-07
  • 2022-01-31
  • 2022-12-23
  • 2021-09-06
  • 2021-10-17
相关资源
相似解决方案