CSV to SQL CLI β Convert CSV to SQL INSERTs (MySQL, PostgreSQL, Oracle)
# CSV to SQL CLI β Java Command-Line Tool
π Easily convert CSV files into SQL INSERT scripts for any relational database!
Whether you're a developer, QA engineer, or data analyst, this tool saves you hours of manual SQL writing.
---
## π‘ Features
β Supports MySQL, PostgreSQL, and Oracle
β Simple CLI interface β No GUI, no distractions
β Converts CSV rows into clean SQL INSERT statements
β Easy to use, no dependencies
β
Works offline, portable .jar file
---
## π§ͺ Example
CSV Input (`sample.csv`)
id,name,email
1,Alice,alice@example.com
2,Bob,bob@example.com
Generated Output
```sql
INSERT INTO users (id, name, email) VALUES ('1', 'Alice', 'alice@example.com');
INSERT INTO users (id, name, email) VALUES ('2', 'Bob', 'bob@example.com');
βοΈ Usage
java -jar csv2sql.jar sample.csv --table users --dialect mysql
Arguments:
<csv file> Path to your CSV file
--table Table name for your SQL INSERTs
--dialect SQL dialect: mysql, postgresql, oracle
π¦ What's Included
-
csv2sql.jarβ Ready-to-run CLI tool -
sample.csvβ Sample input file -
output.sqlβ Sample generated SQL -
README.mdβ Usage guide -
LICENSE.txtβ Personal use license
π License
This software is licensed for personal or internal commercial use. Redistribution or resale is not allowed.
Β© 2025 Srinivasarao K. All rights reserved.
---
### π³ Pricing Setup
- β Set price to `$2`
- β
Enable file download: csv-to-sql-cli.zip
- β No license key needed
- β Turn on βLimit sales to 1 per customerβ if you want
---
### π¦ File to Upload
> csv-to-sql-cli.zip
Contents:
csv2sql.jar
sample.csv
output.sql
README.md
LICENSE.txt