有趣,2002-6-14日也是你们两个回答这类问题,也是这个次序。
不行,我把aaa.ctl改成:
load data
into table www
(
m char terminated by '|' ,
z char terminated by '|' ,
h char terminated by '|'
)
居然还是同样错误,我根本就没提到aaa.txt!
不行,我把aaa.ctl改成:
load data
into table www
(
m char terminated by '|' ,
z char terminated by '|' ,
h char terminated by '|'
)
居然还是同样错误,我根本就没提到aaa.txt!
解决方案 »
- oracle中clob与分组的冲突
- 高分在线等!请问管理员能跟踪到他人查询数据的记录吗?
- 求救:AMP8.0迁移oracle数据库,出现错误提示字符集不匹配,如何解决
- 在oracle中如何实现自增字段?(高手请进)
- liunx系统里面从数据库查询大量数据时报如下错,求解
- 请问什么是驱动表
- Enterprise Manager Console创建的序列如何与表中一字段绑定起来????
- 请教3个sql小问题,谢谢!
- 我想在一台机器上调用另一台机器的oracle数据。
- oracle12c的32位和64位问题
- 请问 Oracle 和 ms-sql 差别有多大?
- oracle中如何实现这句的功能(sql server下能通过)
load data
infile *
Append
into table www
trailing nullcols
(
m char terminated by '|' ,
z char terminated by '|' ,
h char terminated by '|'
)
begindata
1015555551030|脚后跟和环境和脚后跟|2555|
4522222222255|衣服容易反光镜|787|
......成功了。
为什么 infile 'aaa.txt' 就不行?
看来是每行结尾的回车符不被识别的问题
load data
infile 'aaa.txt'
the aaa.txt should be a seperated external .txt file include directory like C:\TEMP\aaa.txt;
Else if
you use the aaa.ctl like
load data
infile *
the txt file should be include in the .ctl file;
End;