-- 插入 insert into [CHOLPOR].[dbo].[t_image](id, name) select ‘1‘, BulkColumn from openrowset(bulk N‘e:\1.jpg‘, single_blob) as blob; -- 更新 update dbo.EArcImage set EArcImage = (select BulkColumn from openrowset(bulk N‘e:\1.jpg‘, single_blob) as blob )where earcimage.EArcImageID=‘D1241F59-3AB8-4A03-9895-B20450D03077‘
原文地址:https://www.cnblogs.com/archermeng/p/8915688.html
时间: 2024-10-10 04:03:17