[Mysql/MariaDB] TXT,CVS 데이터를 한번에 INSERT 하는 법(BULK INSERT)
Create TestTable USE TestData GO CREATE TABLE CSVTest (ID INT, FirstName VARCHAR(40), LastName VARCHAR(40), BirthDate SMALLDATETIME) GO Create CSV file in drive C: with name csvtest.txt with following content. The location of the file is C:\csvtest.txt 1,James,Smith,19750101 2,Meggie,Smith,19790122 3,Robert,Smith,20071101 4,Alex,Smith,20040202 Now run following script to load all the data from C..
Database/Mysql
2012. 1. 12. 04:50