I would like to create a SQL table using the LOAD DATA INFILE
comande.
I have previously created a table with an attribut (column) FLOAT like:
CREATE TABLE table_1 (
foo INT );
So now I can use the LOAD DATA INFILE
comand.
In the file I want to load, missing values are codded as 'NA'. When I run this command 'NA' values are translated as '0' and not as NULL values which is the mysql standard for missing values.
My question is: How I can declare to mysql that 'NAs' are missing values.
Appologize if this is a current topic but as I am not a SQL specialist I was not able to find the answer to this question.
Thanks in advance,
Marc