

😄Īlternatively, if you're ok with using the command line (eg cmd.exe, powershell, etc), then trying the sqlite command line client might work. For me, this often leads to "Aha!" moments and a solution soon after. So you might need to nail down the exact line + fields that are going wrong, and have a look what's in them. This generally helps if you know what's going wrong with the escaping.Try the various ones out, and see if they do any better.

The CSV import dialog has various options for escaping fields. It should be pretty safe to try the latest nightly build, and see if that does better:

I have examined the csv file using HEXEDIT and after the 9th value, it is followed by a carriage control and linefeed, (0D, 0A) as each row is. It really does have only 9 values and the CSV file really has only 9 comma delimited fields. Failing row had 9 columns but 11 values were supplied." and it goes on to list the 11 values showing the last 2 values as "null,null". The error message is "Error importing data from record number 1. But it fails when the CSV file has around 10000 records, yet the failure is on "record 1" which is the same regardless of how many records are in the CSV file. It DOES work fine when the CSV file has around 1000 records, including column names in the first record. Cannot import a CSV file intl SQLITE using DB Browser for SQLITE.
