MySQL Forums
Forum List  »  Newbie

Re: LOAD DATA output
Posted by: Rick PIller
Date: June 30, 2005 09:36AM

Here is what I have.

run.bat
mysql -u root -psweet16 -D contest -h localhost < test_file.txt > output.txt

test_file.txt
LOAD DATA LOCAL INFILE 'email.csv'
INTO TABLE emails
FIELDS TERMINATED BY ','
LINES TERMINATED BY '\n'
(email, zip);

This works but output.txt is blank.

Options: ReplyQuote


Subject
Written By
Posted
June 30, 2005 07:19AM
June 30, 2005 08:38AM
Re: LOAD DATA output
June 30, 2005 09:36AM
June 30, 2005 03:59PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.