What data type should be use for files such as:
doc, xls, jpg, png, dwg
With a size of between 0.1 to 10 MB what should be?
Varbinary (x)
Varbinary (max)
Image
What data type should be use for files such as:
doc, xls, jpg, png, dwg
With a size of between 0.1 to 10 MB what should be?
Varbinary (x)
Varbinary (max)
Image
I would recommend you to use varbinary(max)
for every file
In SQL 2012
you might use image
but it wouldn't be supported in next generations of SQL Servers.
Varbinary (x)
will be useful for avoiding storing larger files than desired.