MS SQL Server 2005,将 varbinary 写入文件系统

发布于 2024-07-19 04:27:27 字数 109 浏览 4 评论 0原文

仅使用 sql 查询是否可以将 varbinary 单元格的内容写入文件系统? 我有一个列将 pdf 存储为 ,为了进行一些快速测试,我想将 pdf 写入文件系统。

谢谢你的帮助。

Using just an sql query is it possible to write the contents of a varbinary cell to the file system? I have a column that stores pdf s as and for some quick testing I'd like to write out the pdfs to the filesystem.

Thanks for any help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

給妳壹絲溫柔 2024-07-26 04:27:27

类似的问题在这里。

如何将 SQL Server 2008 中的 VARBINARY(MAX) 字段中的所有图像转储到文件系统?

您需要迭代每一行并对每个 varbinary 字段执行 BCP(批量复制)转储到文件系统

Similar Question Here.

How to dump all of our images from a VARBINARY(MAX) field in SQL Server 2008 to the filesystem?

You'll need to iterate through each row and perform a BCP (BulkCopy) Dump of each varbinary field to the filesystem

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文