-- 插入
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'

 

相关文章:

  • 2021-07-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
  • 2022-01-15
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-12
  • 2021-04-30
  • 2021-12-22
  • 2021-12-22
相关资源
相似解决方案