Search
 
SCRIPT & CODE EXAMPLE
 

SQL

mysql insert from local csv

LOAD DATA LOCAL INFILE 'abc.csv' INTO TABLE abc
FIELDS TERMINATED BY ',' 
ENCLOSED BY '"' 
LINES TERMINATED BY '
'
IGNORE 1 LINES
(col1, col2, col3, col4, col5...);
Comment

PREVIOUS NEXT
Code Example
Sql :: data directory postgresql 
Sql :: sql select all from table 
Sql :: sql server: select column values as comma separated string 
Sql :: An error occurred while installing mysql2 (0.3.20), and Bundler cannot continue. 
Sql :: mysql select column where has non int values 
Sql :: mysql reset root password 
Sql :: search db for table name 
Sql :: check isolation level in mysql 
Sql :: docker run mysql image 
Sql :: mysql check auto increment value 
Sql :: MySQL FIND_IN_SET() 
Sql :: buscar nombre de columna en todas las tablas sql server 
Sql :: sql get month name 
Sql :: how to remove a column from a table in MySQL 
Sql :: mysql date to string 
Sql :: sql where keyword contains 
Sql :: oracle plsql sleep 
Sql :: spring import sql 
Sql :: mysql between date range 
Sql :: mysql show attributes of a table 
Sql :: mysql select if empty result 
Sql :: sql unique rows 
Sql :: sql count group by 
Sql :: how to use group_concat in sql server 
Sql :: plsql triggers 
Sql :: SQL Server rename foreign key constraint 
Sql :: inner join sql oracle 
Sql :: sql server list locks 
Sql :: to date oracle 
Sql :: mysql utc timestamp 
ADD CONTENT
Topic
Content
Source link
Name
1+3 =