ChinaUnix.net
相关文章推荐:

sql loader example

:shock: :shock: [ 本帖最后由 饭盒 于 2008-12-2 11:07 编辑 ]

by 饭盒 - Oracle - 2008-11-29 15:16:06 阅读(1461) 回复(0)

相关讨论

环境:window2003+ora8.1.7 用sqlloader 定长导入数据, load data infile 'test.txt' append into table test( sqno position(1:6) integer external, flag position(7:7) char, date1 position(8:13) char, time1 position(14:19) char, amt position(20:38) integer external ":amt/100", date2 position(39:43) char ) 出现下面的错误, sql*loader: Release 8.1.7.0.0 - Production on 星期四 10月 28 08:13:58 2004 (...

by coresys - Oracle - 2004-10-28 10:41:17 阅读(1496) 回复(2)

谁有O'Reilly的sql*loader书?

by sharkyu - Oracle - 2003-09-24 19:46:00 阅读(779) 回复(1)

Version: Oracle9i Enterprise Edition Release 9.2.0.3.0 - 64bit Production 使用parallel direct path load 方式加载一张表,9个进程并行加载。 表大小:1000万条记录,每条记录100字节 ,9个分区 表空间存储参数:extent management local uniform size 10M SEGMENT SPACE MANAGEMENT AUTO 问题:加载后,此表占用空间达6G以上,如果将他export出来再import进去,则占用空间只有1G左右,比较正常。 请问这是为什么?

by rh - Oracle - 2003-08-26 14:39:03 阅读(973) 回复(1)

sqlldr中INFILE可以指定管道,语法该怎么写呢?文档没有。

by bestball - Oracle - 2003-06-30 09:29:56 阅读(1892) 回复(10)

sql*loader可以实现批量外部数据导入到oracle中的功能,对于数据量大的工作,具有非常高效的特点。以下实验仅为简单验证: 1、 外部源数据: "1","Unmi","3","2009-1-5 20:34:44" "2","","5","2008-10-15" "3","petersu","8","2009-1-2" "4","antony","","" "5","robbie","1","2008-12-23" 可以把此数据复制到一个文件中命名为peter.csv 2、 抽象出来的数据文件peter.sql内容为: Create table users( User_id number, User_name ...

by ahuai12 - Oracle - 2009-05-24 16:38:01 阅读(1703) 回复(1)

首先编辑这几个文件: in.txt 参数文件 input.ctl 控制文件 input.txt 即要导入的数据文件(文件格式可以自定) in.txt 参数文件,如下: userid=system/****@oracle9_bytime --口令,密码,服务名 control=c:\input.ctl --控制文件 log=input.log --日志 bad=input.bad --坏...

by yinbin - Oracle - 2006-02-05 12:40:23 阅读(1025) 回复(3)

load data infile 'c:\test9.txt' append into table test (id position(1:3),username position(4:6),password position(7:9),hiredate position(10:12)) test9.txt为1112aaaabdie 这样写就不行 load data infile * append into table test (id position(1:3),username position(4:6),password position(7:9),hiredate position(10:12)) begindata 1112aaaabdie 这样写就可以,哪位高人能指点一下为何?

by jiangroom - Oracle - 2005-09-16 14:19:55 阅读(957) 回复(1)

现有两千多个文本格式的数据文件,共10G,每个文件大概6M,要用sql loader导入到数据库中。运行sql loader的PC机内存为512M。 sql loader多次load文件是否会很耗时? 每次load多大文件比较合适?

by cbwindboy - Shell - 2005-07-06 16:30:13 阅读(914) 回复(0)

sql*loader将数据文件的数据导入数据库. 数据文件内容是(条件在下面) (test.dat) A20030826 Dabcdefghi12 Dbcdefghij23 Dcdefghijk34 要求写一个ctl文件,实现功能如下: 现有B表,只有一个字段比如mydate,且最多有一条记录. 如果test.dat中'A'开头的那行数据的position(2,9)=B表mydate字段的值,那么就将test.dat中的'D'开头的数据插入到A表,否则不做insert处理. 我的疑问是 1) ctl文件中,寻找'A'开头并且position(2,9)=B表mydat...

by chuwalee - Oracle - 2003-08-27 16:18:33 阅读(980) 回复(3)

:oops: 请教:如何手动安装sql*loader(windows2000),我使用oracle universal install 再安装怎么没有找到呢?(oracle 8.1.5) 非常着急!多谢 :em51:

by yanghx_yhx - Oracle - 2003-06-02 17:05:11 阅读(3196) 回复(8)