如何在 SQL Server 数据库表列中存储图像
我的数据库中有一个名为 FEMALE 的表.它有 ID 作为 Primary Key,它有一个 Image 列.
I Have a table named FEMALE in my database. It has ID as Primary Key, it has an Image column.
我的问题是如何使用 SQL 查询存储图像?
My Question is how do I store an image using a SQL Query?
推荐答案
试试这个,
insert into tableName (ImageColumn)
SELECT BulkColumn
FROM Openrowset( Bulk 'image..Path..here', Single_Blob) as img
<小时>
插入
刷新表格
相关文章