2011-01-27 1 views

답변

1

레코드 구분 기호 기본적으로는 \ n, 당신은 다음 예에서와 같이 변경할 수 있습니다 :

load data 
infile ’sample3.dat’ “str ‘*\n” 
into table example 
fields terminated by ‘,’ optionally enclosed by ‘"’ 
(item char(10), destination char(2)) 

를이 경우, *의 \의 레코드 구분 기호는 N 그래서 당신의 데이터는 같이 수 :

Item 1,London* 
Item 2,Multi 
line* 
관련 문제