且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

最有效的方式来存储20梅格文件在SQL Server 2005 image列

更新时间:2023-11-25 15:49:46

如果你不想重构你的文档了分贝的快速解决方案在这一点上是对数据使用压缩:

A quick solution if you don't want to refactor your documents out of the db at this point is to use compression on your data:

http://msdn.microsoft.com/en-us/library/system.io.compression.gzipstream.aspx

我怀疑SQL Server正在破坏你的文件,但在gzip算法工作可能会帮助您发现错误。

i doubt that Sql Server is corrupting your files but working in the gzip algorithm might help you find a bug.