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

前端 未结 4 1693
面向向阳花
面向向阳花 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条回答
  •  萌比男神i
    2020-12-09 17:59

    Implement SQL Server 2012 (codename Denali) when it's released - it has FileTable feature :)

    • varbinary(8000) is limited by 8000 bytes - that's for sure!
    • varbinary(max) is limited by 2 gigabytes
    • varbinary(max) FILESTREAM is limited by your file system (FAT32 - 2 Gb, NTFS - 16 exabytes)

提交回复
热议问题