ITPUB论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

楼主: oldboy

9i数据导入到10G后,oem中见不到表了 [复制链接]

精华贴数
12
技术积分
60557
社区积分
12364
注册时间
2008-1-16
论坛徽章:
257
版主8段
日期:2012-05-15 15:24:11紫蛋头
日期:2012-05-21 10:19:41
发表于 2010-3-26 13:15:00 |显示全部楼层
换成lib32也没有用
ibm01:/tmp$export LD_LIBRARY_PATH=/u01/app/oracle/product/11.1.0/db/lib32:/usr/lib
ibm01:/tmp$echo $LD_LIBRARY_PATH
/u01/app/oracle/product/11.1.0/db/lib32:/usr/lib
ibm01:/tmp$./ociuldr.exe
exec(): 0509-036 Cannot load program ./ociuldr.exe because of the following errors:
        0509-150   Dependent module /u01/app/oracle/product/11.1.0/db/lib/libclntsh.a(shr.o) could not be loaded.
        0509-103   The module has an invalid magic number.

使用道具 举报

精华贴数
12
技术积分
60557
社区积分
12364
注册时间
2008-1-16
论坛徽章:
257
版主8段
日期:2012-05-15 15:24:11紫蛋头
日期:2012-05-21 10:19:41
发表于 2010-3-26 13:20:04 |显示全部楼层
解决了,原来还有一个环境变量

# exit
ibm01:/tmp$export LIBPATH=/u01/app/oracle/product/11.1.0/db/lib32:/usr/lib
ibm01:/tmp$./ociuldr.exe
Usage: ./ociuldr.exe user=... query=... field=... record=... file=...
(@) Copyright Lou Fangxin 2004/2008, all rights reserved.
Notes:
       -si   = enable logon as SYSDBA
       user  = username/password@tnsname
       sql   = SQL file name
       query = select statement
       field = seperator string between fields
       record= seperator string between records
       head  = print row header(Yes|No)
       file  = output file name(default: uldrdata.txt)
       read  = set DB_FILE_MULTIBLOCK_READ_COUNT at session level
       sort  = set SORT_AREA_SIZE at session level (UNIT:MB)
       hash  = set HASH_AREA_SIZE at session level (UNIT:MB)
       serial= set _serial_direct_read to TRUE at session level
       trace = set event 10046 to given level at session level
       table = table name in the sqlldr control file
       mode  = sqlldr option, INSERT or APPEND or REPLACE or TRUNCATE
       log   = log file name, prefix with + to append mode
       long  = maximum long field size
       array = array fetch size
       buffer= sqlldr READSIZE and BINDSIZE, default 16 (MB)
       form  = display rows as form (yes or no)

  for field and record, you can use '0x' to specify hex character code,
  \r=0x0d \n=0x0a |=0x7c ,=0x2c \t=0x09
ibm01:/tmp$

使用道具 举报

注册会员

清风不识字

精华贴数
0
技术积分
1002
社区积分
42
注册时间
2009-11-6
论坛徽章:
3
2010新春纪念徽章
日期:2010-03-01 11:08:26ITPUB9周年纪念徽章
日期:2010-10-08 09:32:272011新春纪念徽章
日期:2011-02-18 11:43:33
发表于 2010-3-26 13:25:44 |显示全部楼层
aix使用LIBPATH
其他使用LD_LIBRARY_PATH

使用道具 举报

相关内容推荐
您需要登录后才可以回帖 登录 | 注册

TOP技术积分榜 社区积分榜 徽章 电子杂志 团队 统计 邮箱 虎吧 老博客 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档 | IT博客
CopyRight 1999-2011 itpub.net All Right Reserved. 北京皓辰网域网络信息技术有限公司版权所有 联系我们 网站律师 隐私政策 知识产权声明
京ICP证:060528号 北京市公安局海淀分局网监中心备案编号:1101082001 广播电视节目制作经营许可证:编号(京)字第1149号
  
回顶部