Skip to Content
MySQL, 5th Edition
book

MySQL, 5th Edition

by Paul DuBois
April 2013
Intermediate to advanced
1276 pages
42h 16m
English
Addison-Wesley Professional
Content preview from MySQL, 5th Edition
LOAD DATA

LOAD DATA [LOW_PRIORITY | CONCURRENT] [LOCAL] INFILE 'file_name'   [IGNORE | REPLACE]   INTO TABLE tbl_name   [PARTITION (partition_name [, partition_name] ...)]   [CHARACTER SET charset]   [field_options] [line_options]   [IGNORE n {LINES | ROWS}]   [(col_or_user_var_name, ...)]   [SET col_name = expr [, col_name = expr] ...]

LOAD DATA reads input records from the file file_name and loads them in bulk into the table tbl_name. This is faster than using a set of INSERT statements. As of MySQL 5.6.2, LOAD DATA supports a PARTITION clause for partitioned tables to indicate the partitions or subpartitions into which to insert rows. In this case, an error occurs if a row would not be inserted in any named partition. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

MySQL Cookbook, 3rd Edition

MySQL Cookbook, 3rd Edition

Paul DuBois
MySQL Cookbook, 4th Edition

MySQL Cookbook, 4th Edition

Sveta Smirnova, Alkin Tezuysal
Learning MySQL, 2nd Edition

Learning MySQL, 2nd Edition

Vinicius M. Grippa, Sergey Kuzmichev
SQL Cookbook, 2nd Edition

SQL Cookbook, 2nd Edition

Anthony Molinaro, Robert de Graaf

Publisher Resources

ISBN: 9780133038552Purchase book