Max real space in a varbinary(max) in SQL Server

前端 未结 4 1704
面向向阳花
面向向阳花 2020-12-09 17:39

I am saving files (any type ) in a SQL table, using a varbinary(max), I find out that the max usage of this datatype is 8000, but what does the 8000 mean?

4条回答
  •  一个人的身影
    2020-12-09 18:20

    I got the "String or binary data would be truncated" error when trying to store 5MB using varbinary(max) on SQL Server 2005. Increasing the autogrowth size for the database solved the problem. Took me a while to figure out, so just thought I'd share :)

提交回复
热议问题