Bulk Insert In SQL Server CE

﹥>﹥吖頭↗ 提交于 2019-11-28 09:27:42

SQL CE does not have a bulk insert command. For the best raw performance opening a an updateable SqlCeResultset using a TableDirect SqlCeCommand is your fastest bet. It bypasses the query processor altogether, and is actually about as fast as directly writing to a text file.

I have wrapped the bulk insert code in a NuGet library, that you can use like you use SqlBulkCopy today: http://sqlcebulkcopy.codeplex.com

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!