Below is the code I'm trying to load my data file with. I am getting a syntax error though. I do not understand why I am getting this error, can any one plesae provide some input? The syntax error is due to the:
FIELDS (TERMINATED BY ',')
according to the error messege I am getting.
Thank you,
saiello
LOAD DATA INFILE 'C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\import\\import.txt'
INTO TABLE win_event
(date_occured, time_occured, event_id, user_name, computer_name, event_data)
FIELDS (TERMINATED BY ',')