[EMAIL PROTECTED] wrote: > My data in text file isn't been loaded to columns in table. Data text file is > in data directory of server. > > rest of the commands are as follows, any guidance, please. > > mysql> load data > -> infile 'kemailsusa.txt' > -> into table > -> kemailsusa; > ERROR 1062: Duplicate entry '0-' for key 1
See http://dev.mysql.com/doc/mysql/en/LOAD_DATA.html In particular, you need "IGNORE". -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Egor Egorov / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net <___/ www.mysql.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]