Last active
April 27, 2018 12:30
-
-
Save primogf/a77d69b2ec027f1f04e34cd027a49c60 to your computer and use it in GitHub Desktop.
Importacao Marvel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
libreoffice --headless --convert-to csv claim_rioclaro.xlsx --outdir . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LOAD DATA INFILE "/var/lib/mysql-files/claim_rioclaro.csv" | |
INTO TABLE csv_claim_rio_claro | |
COLUMNS TERMINATED BY ',' | |
OPTIONALLY ENCLOSED BY '"' | |
ESCAPED BY '"' | |
LINES TERMINATED BY '\n' | |
IGNORE 1 LINES; | |
LOAD DATA INFILE "/var/lib/mysql-files/claim_manaus.csv" | |
INTO TABLE csv_claim_manaus | |
COLUMNS TERMINATED BY ',' | |
OPTIONALLY ENCLOSED BY '"' | |
ESCAPED BY '"' | |
LINES TERMINATED BY '\n' | |
IGNORE 1 LINES; | |
LOAD DATA INFILE "/var/lib/mysql-files/claim_joinville_novo.csv" | |
INTO TABLE csv_claim_joinville | |
COLUMNS TERMINATED BY ';' | |
OPTIONALLY ENCLOSED BY '"' | |
ESCAPED BY '"' | |
LINES TERMINATED BY '\n' | |
IGNORE 1 LINES; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment