In this blog, there are many things that I did and got or get to know, while I am developing applications. I write the articles to remember in mind and I hope they will be helpful for the visitors who read them.
LOAD DATA INFILE 'data file path' REPLACE INTO TABLE_NAME FIELD TERMINATED BY ',' LINES TERMINATED BY '\n' (@V1, @V2, @V3) SET COL1 = NULLIF(@V1, '') , COL2 = NULLIF(@V2, '') , COL3 = NULLIF(@V3, '') ;