-
Notifications
You must be signed in to change notification settings - Fork 2
carmstrong/php-csv2mysql
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Chris Armstrong [email protected] Converts CSV files to .SQL files, with a CREATE TABLE and INSERT statements for each row of the CSV. Will automatically ignore columns that contain no data, and will make all columns type VARCHAR with a size equal to the length of that column's longest value. TO USE: php csv_to_sql.php inputfile.csv outputfile.sql database_name
About
A script written in PHP which converts CSV files to SQL files ready to be imported into a MySQL database.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published