将大量记录插入数据库访问的最佳方法

将大量记录插入数据库访问的最佳方法

本文介绍了将大量记录插入数据库访问的最佳方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我有一个包含电子邮件的csv文件



i想要读取这些值一个通过一个并验证他们将它们插入到访问数据库,但是上传大量的记录需要时间



有没有办法快速插入大数字



注意:我从csv文件中读取记录并将它们插入数据表中,然后逐行检查它们以验证并插入它们



谢谢,

Hey

I have a csv file that contain Emails

i want to read these values one by one and validate them them insert them to a access database but on uploading a large amount of records it take time

is there a way to insert large number quickly

Note: i read the records from the csv file and insert them in a datatable then check them row by row to validate and insert them

thank,

推荐答案


这篇关于将大量记录插入数据库访问的最佳方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-02 00:41