Importing data into SQL database - Forum

Forum Navigation
You need to log in to create posts and topics.

Importing data into SQL database

Can anyone tell me the best way to import CSV data into the sql database that I have created. I have tried SQLite Browser with VisualNeo Web, but this just stops responding. The CSV file has just under one million line and seven columns.

Hi @m-burdess there are many options. I would try:

Online solution (nothing to install):
https://anyconv.com/es/convertidor-de-csv-a-sqlite/

Using the last SQLite Browser version (free software):
https://sqlitebrowser.org/

Let me know if you have success.

Best regards.

@luishp

Thank you for the help, I found the DB Browser for SQLite-win64. This opens the database but when it save the changes, the database no longer works. It look to use a different layout for the data.

The online solution just comes up with Error each time I try.

The data that I'm trying to load is available from the Government website if that helps.

https://www.gov.uk/government/publications/adult-education-budget-aeb-postcode-files

Thank you for the help, I found the DB Browser for SQLite-win64. This opens the database but when it save the changes, the database no longer works. It look to use a different layout for the data.

@m-burdess I think you should check the DataBase fields and customize them to your needs once the data is imported.

@luishp

I have checked the Database and went to customize the imported data, and got;

 

Uploaded files:
  • You need to login to have access to uploads.

@m-burdess sorry no idea what could be happening.
It's possible the .csv format you are using is not standarized.

Perhaps you can try this alternative online option:
https://www.rebasedata.com/convert-csv-to-sqlite-online

Good luck.

 

@luishp

Thank you for the help, yesterday I look through the forum, and found the link to the above company and using them to convert the .csv file.

luishp has reacted to this post.
luishp

@luishp

I have worked with this site and have not yet got a working file. I have even converted the csv file to dbase and it still does not work.

Hi @m-burdess data transformation can be quite tricky sometimes. Wich .csv file exactly are you trying to import to SQLite? I'm quite busy but will try to help you.

Regards

@luishp

Once again, thank you the help. I have found out that if you use DB Browser for SQLite PortableApp version of 3.7.0  it will work but not with the latest version. But I will see if it works when I finish editing the csv file.