I'm not sure what I have done wrong with this. MySQL isn't really my thing so I thought I should ask for some help here.
LOAD DATA LOCAL INFILE "D:/Database/FMA/walkdb_dataprogProgrammeCREATE TABLE `Programme` (
`programme_id` int(11) NOT NULL AUTO_INCREMENT,
`walk_id` int(11) NOT NULL,
`programme_date` text NOT NULL,
`programme_starttime` date NOT NULL,
`programme_maxpart` int(3) NOT NULL,
PRIMARY KEY (`programme_id`),
KEY `walkprog_id_idx` (`walk_id`),
CONSTRAINT `walkprog_id` FOREIGN KEY (`walk_id`) REFERENCES `Walk` (`walk_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
.csv"
INTO TABLE Programme
FIELDS TERMINATED BY ','
LINES TERMINATED BY '\r\n'
Do you need any more details?