简体   繁体   中英

What is the fastest way to bulk load a large CSV file into MSSQL using Python?

What is the fastest way to import data into MSSQL using Python with these requirements:

  1. Large file (too big for memory, no row based inserts).
  2. Minimal logging.
  3. CSV file.
  4. CSV file column may contain single and double quotes.
  5. CSV file Column may contain line breaks.

Thanks.

从python代码在Windows或Windows的freebcp中调用BCP

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM