load data
infile "c:\aa\aa.txt"
truncate into table orders_tmp
fields terminated by X'09'
(CUST_NBR ,
REGION_ID,
SALESPERSON_ID ,
YEAR ,
MONTH ,
TOT_ORDERS ,
TOT_SALES )
infile "c:\aa\aa.txt"
truncate into table orders_tmp
fields terminated by X'09'
(CUST_NBR ,
REGION_ID,
SALESPERSON_ID ,
YEAR ,
MONTH ,
TOT_ORDERS ,
TOT_SALES )
本文详细介绍了如何使用特定命令将数据从文件加载到数据库表中,并进行字段分隔。
1万+

被折叠的 条评论
为什么被折叠?



