使用sql server、asp.net批量插入
我需要使用 asp.net C# Web 应用程序将 Excel 或 csv 格式文件中的批量数据插入 MS SQLServer(大约 2lac 记录)。
我的问题:
它抛出内存不足异常。
因此,我需要从 asp.net 解决问题,而不是通过 SQLSERVER。
当我在 SQLServer 上尝试批量数据插入/更新时,它工作正常。但是当我尝试使用 ASP.NET 执行相同的过程时,系统抛出“内存不足异常”,
请帮助我解决这个问题。
谢谢 瓦迪韦卢
I need to insert the bulk data into MS SQLServer (approximately 2lac records) from excel or csv format file using asp.net C# web application.
My problem :
It throws out of memory exception.
So, I need to fix the issue from asp.net but NOT THROUGH SQLSERVER.
When I tried the bulk data insert/Update at the SQLServer it works fine. But when I tried to do the same process using the ASP.NET the system throws "Out of Memory Exception"
Kindly help me to solve this problem.
Thanks
Vadivelu
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请参阅一些资源:
See some resources: