use Test
go
If object_id('Picture'Is Not Null
    
Drop Table Picture
Go
Create Table Picture
(
    FileName 
nvarchar(255),
    ExternalFile 
varbinary(max)
)
Go

Insert into Picture(FileName , ExternalFile)
Select 'PitureName', BulkColumn FROM OPENROWSET(
Bulk N'G:\test.jpg', SINGLE_BLOB) As a
Go



相关文章:

  • 2022-12-23
  • 2021-08-10
  • 2021-12-08
  • 2021-11-20
  • 2021-07-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-30
  • 2022-12-23
  • 2021-07-15
  • 2022-01-05
  • 2021-11-06
  • 2021-10-10
相关资源
相似解决方案