Fork me on GitHub
#sql
<
2018-02-22
>
seancorfield02:02:09

Definitely sounds like a database-level "export" to me. When I want to generate insert statements from the contents of a table, I ask the database to do it. It's always far, far faster than any program you could write -- and also far more reliable.