我在我的表中使用此sql查询从csv文件加载数据:
LOAD DATA LOCAL INFILE 'C:/Users/Mayank/Desktop/8Jun/Furniture.csv' IGNORE INTO TABLE snap_furniture1
FIELDS TERMINATED BY '\t'
ENCLOSED BY '"'
LINES TERMINATED BY '\r\n'
(@col1,@col2,@col5,@col6,@col13,@col14)
set id=@col1,
title=@col2,
link=@col5,
image_link=@col6,
availibility=@col13,
effective_price=@col14;
然而,当我执行它时,我收到一个重复条目的警告,并且mysql执行在那里停止。我正在使用忽略,因此执行不应该停止警告。如何使执行继续警告/错误