How do I insert/retrieve Excel files to varbinary(max) column in SQL Server 2008?

后端 未结 2 892
鱼传尺愫
鱼传尺愫 2020-12-31 15:25

I\'m trying to save Excel files into the database, I do not want to use filestream as it is required to have a server for that.

So how do I insert/update/select into

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-31 16:16

    It depends on the data access technology you are using. For example, if you use Entity Framework, you can just save a byte array into the database using objects.

提交回复
热议问题