请教用sql loader导入数据,最后一位是整数的问题
2017-08-09
展开全部
给个例子你看看
load data
infile 'F:\aaa.txt'
BADFILE 'F:\aaa.bad'
DISCARDFILE 'F:\aaa.dis'
Append into table aaa_data
FIELDS TERMINATED BY "|"
trailing nullcols
(
imsi_nbr,
system_type "131",
create_date "sysdate"
)
load data
infile 'F:\aaa.txt'
BADFILE 'F:\aaa.bad'
DISCARDFILE 'F:\aaa.dis'
Append into table aaa_data
FIELDS TERMINATED BY "|"
trailing nullcols
(
imsi_nbr,
system_type "131",
create_date "sysdate"
)
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询