Oracle sqlldr范例一:去空格及日期导入
(2011-09-28 16:22:46)
标签:
oraclesqlldr去空格日期杂谈 |
分类: 数据库 |
1. 建表语句
CREATE TABLE GL_POINT ( |
2. 数据文件内容
000000 2270 |
3. ctl文件内容
load data into table GL_POINT truncate --into table GL_POINT truncate when unit_id <>'' 不导入unit_id为空的数据 fields terminated by '|+|' TRAILING NULLCOLS ( |
4. 执行语句:
sqlldr username/password data=gl_point.dat control=gl_point.ctl log=gl_point.log bad=gl_point.bad |
5. 说明: