hai
when i use LOAD DATA INFILE for a text file delimited by tab, and if it has any field empty it enters " as default, instead i want string 'null' to be entered.This should be done without altering the text file from which data is loaded.it loads 80000+records hence using query statement...
I have a text file with column delimter as '/t' and row delimter as '/n'.
I used following command to import that text file into mysql DB.
C:\WINNT\mysql\bin>mysqlimport -C -f --debug='d:t:o,debug.txt' -d --fields-termi
nated-by='\t' --lines-terminated-by='\n' -v --local example...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.