Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

import Data in MySQL without using any other software

Convert file in .csv
CREATE TABLE (name of the table you insert data in)(
columns
);

LOAD DATA INFILE "path
ame.csv" INTO TABLE (name of the table you insert data in)
FIELDS TERMINATED BY "fields terminated by"
LINES TERMINATED BY "lines terminated by"
IGNORE (how many lines to ignore) LINES
(columns)
Source by # #
 
PREVIOUS NEXT
Tagged: #import #Data #MySQL #software
ADD COMMENT
Topic
Name
8+8 =