Re: NULL values from LOAD DATA infile

2004-11-08 Thread Keith Ivey
Rachael LaPorte Taylor wrote: I'm trying to import a file using LOAD DATA INFILE into a table containing columns that default to NULL. See http://dev.mysql.com/doc/mysql/en/LOAD_DATA.html : | Handling of NULL values varies according to the FIELDS and LINES options in use: | | * For the default

NULL values from LOAD DATA infile

2004-11-08 Thread Rachael LaPorte Taylor
I'm trying to import a file using LOAD DATA INFILE into a table containing columns that default to NULL. However, values load into the table as 0 (zeros). What can I do to have these default to NULL? mysql> describe table column; Field | Type | Null | Key | Default | Extra | column | i