Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我打算从公共文件夹中组织图片在 SQL Server 中的存储。我想把它作为 BLOB 来做。我在互联网上读到,如果源文件夹中的任何文件被意外删除,可能会导致数据库故障。这是对的吗?有人遇到过这个问题吗?源文件夹是否应该完全保持不变?非常感谢。
如果您要将图像存储为 BLOB,则不需要源文件。如果您要将实际图像存储在文件系统中,那么是的,您将需要一些文件夹来存储实际图像,然后将它们链接到您的数据库中。
编辑:无论是图像还是文件。通常 BLOB 用于图像。