Hello there,
i am trying to insert some data from a txt file but doesnt seem to work
the table is :
CREATE TABLE student
(
stud_id INT UNSIGNED NOT NULL,
PRIMARY KEY (stud_id),
stud_fname VARCHAR(25) NOT NULL,
stud_lname VARCHAR(75) NOT NULL,
email VARCHAR(25) NOT NULL,
status ENUM ('O', 'R') NOT NULL,
level ENUM ('A', 'B', 'C') NOT NULL
)ENGINE = InnoDB;
the command i give to mysql is :
load data infile "some.txt" into table student (stud_id, stud......);
but i think the problem is with the way i write the some.txt syntax....
''2222222 '\t' Nick '\t' Gem '\t' hot '\t' O '\t' A '\t' '\n'
should it look like that?
thank u