From Loose Commas to Strict Tables
You have a spreadsheet export and a database that won't take it. Converting CSV to SQL turns each row into an INSERT statement, so you can load data with a client you already use instead of fighting an import wizard. It's handy for seeding a dev database or moving a client's contact list into a real table.
CSV has no types. Everything is text until something decides otherwise, so check that dates, leading zeros like ZIP codes, and empty cells landed the way you meant. Watch for commas and quotes inside fields, and run the script on a test database before production.
What are CSV and SQL?
CSV: comma-separated rows that almost every program can import
SQL: fmt.sql
How it works
- Choose your CSV file.
- Check that SQL is selected and press convert.
- Download your new file. We delete both files automatically.
