mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
14 lines
364 B
Plaintext
14 lines
364 B
Plaintext
options (readsize=2048000,bindsize=1600000, rows=100000, silent=(header, feedback) )
|
|
load data
|
|
infile 'inventory.csv' "str '\r\n'"
|
|
append
|
|
into table SALES.INVENTORY
|
|
fields terminated by '|'
|
|
OPTIONALLY ENCLOSED BY '"' AND '"'
|
|
trailing nullcols
|
|
( INV_DATE,
|
|
INV_ITEM,
|
|
INV_WAREHOUSE,
|
|
INV_QUANTITY_ON_HAND
|
|
)
|