Skip to content

Instantly share code, notes, and snippets.

@janmejai
Created August 15, 2016 18:58
Show Gist options
  • Save janmejai/9e9af286c49687228e1e3af1dbb265bd to your computer and use it in GitHub Desktop.
Save janmejai/9e9af286c49687228e1e3af1dbb265bd to your computer and use it in GitHub Desktop.
LOAD DATA INFILE 'FileLocation/filename.csv'
INTO TABLE tablename
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\n'
IGNORE 1 ROWS;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment