gitdagray / csv-to-sql-insert

Provide table data as a CSV (comma-separated values) file and output a SQL insert statement for a table with the same name as the file.
MIT License
99 stars 120 forks source link

Suggestion: Support for Different Delimiters #83

Open walid1508 opened 1 month ago

walid1508 commented 1 month ago

The current script reads CSV files using a comma (,) as the default delimiter. I propose adding the ability to specify different delimiters (e.g., tab, semicolon) via a command-line argument or a configuration file.

Implementation Details:

I would be happy to contribute to this enhancement and submit a PR if this proposal is accepted. Thank you in advance for your consideration.