Which data-type for storing images and documents in SQL Server 2005

后端 未结 4 436
逝去的感伤
逝去的感伤 2021-01-12 06:42

I must extend an existing .net-Application to store images and documents (mostly pdf\'s) in a SQL Server 2005 database.

Which SQL Server datatype is used best for s

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-12 07:35

    Use varbinary(max) to store images and documents in sql server. I would recommend having them in a seperate table and not the main table by itself.

提交回复
热议问题