I tried to import data from a Excel file to the database, however, the data in one of the column cannot be imported correctly.
That field is declared as type nvarchar in the database, however 98% of the data in that column are integers, therefore, it only imported those integer data into the database, but the data contains text are ignored and imported as NULL value.
I tried explicitly changed that column to be "text" in the excel file, but it still won't help.
Please help!
That field is declared as type nvarchar in the database, however 98% of the data in that column are integers, therefore, it only imported those integer data into the database, but the data contains text are ignored and imported as NULL value.
I tried explicitly changed that column to be "text" in the excel file, but it still won't help.
Please help!