I\'m importing a csv file using LOAD DATAINFILE
The csv columns are NAME,TYPE,STATUS
my table structure is
Name : varchar TYPE : Varchar Status: Ti
After you execute the query , check for any warnings using
show warnings
Default value is 0 for numeric data types and '' for strings.
So you should have set default value 1 while creating the table
create table tableName
(
name nvarchar(100) not null,
type nvarchar(100) not null,
status smallint default 1
);