Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Latest commit f12ff7d
Feb 29, 2012
|Failed to load latest commit information.|
Chris Armstrong email@example.com 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