Search
 
SCRIPT & CODE EXAMPLE
 

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)
Comment

Import in mysql without a software

LOAD DATA INFILE "name.csv" INTO TABLE "TableName"
FIELDS TERMINATED BY "sign"
LINES TERMINATED BY "sign"
IGNORE 1 LINES
(columns);
Comment

PREVIOUS NEXT
Code Example
Sql :: sql group_concat 
Sql :: change column in mysql 
Sql :: mysql copy row with new id 
Sql :: SQL Comments Within Statements 
Sql :: install pymysql in python 3 in windows 7 v2.7.10 codes with pip 
Sql :: mysql select field if condition 
Sql :: mysql in clausule string array 
Sql :: WHERE value IS sql 
Sql :: sql convert int to string 
Sql :: set value to null postgres 
Sql :: clone row from another table mysql 
Sql :: sql is null and is not null 
Sql :: sql is not like 
Sql :: tsql cte in a transaction 
Sql :: mysql shell set time_zone 
Sql :: set up mssql in mac m1 
Sql :: hyphen error in database mysql 
Sql :: drop constraint in ms sql 
Sql :: how to insert multiple rows in mysql using laravel 
Sql :: arithmetic expression in sql 
Sql :: what is like operator in sql 
Sql :: quit mysql 
Sql :: sql select distinct 
Sql :: primary key auto increment in postgresql 
Sql :: get full yearr data omonthwuse sql 
Sql :: mysql workbench reset performance reports 
Sql :: oracle activate program 
Sql :: SQL Query Records Using Dates 
Sql :: HOW to select specific table data from an mysql databse server: 
Sql :: list enums sql 
ADD CONTENT
Topic
Content
Source link
Name
6+7 =