Question : LOAD DATA INFILE - TIMESTAMP, the correct usage

Hello Experts,

I have a tab delimited text file with a Date column. In MySQL database, the data type is set to TIMESTAMP and the default value is CURRENT_TIMESTAMP. I intend to upload the file by LOAD DATA INFILE

Do i need to stipulate a default value in the text file for that corresponding column?

Answer : LOAD DATA INFILE - TIMESTAMP, the correct usage

>>for some reason I need to stipulate a value for every field.
Because if your table has 2 fields `age`,`jerseyNumber`
and you only supply 3 where should it go? The "importer" requires you to provide a value for each field for purposes of data integrity.

>>Is there a way to omit some fields?
No
Random Solutions  
 
programming4us programming4us