tags:

views:

33

answers:

3

I have to store blob data roughly 10MB per record. Which column type and size should I use for the field?

+3  A: 

IMAGE, VARBINARY(MAX)

leppie
Is varBinary(Max) a good solution?
JL
VARBINARY(MAX) is only in later versions, IMAGE is more compatible across versions.
leppie
I have decided not to support SQL Server 2000, its just too old....
JL
+2  A: 

I would use VARBINARY(MAX) as the IMAGE data type will be dropped in future versions of SQL Server.

sihol
A: 

And with SQL Server 2008, you could even consider putting your VARBINARY(MAX) columns into their own FILESTREAM filegroup and store them in the file system of your SQL Server machine, instead of inside the database.

This works well for blobs that are routinely over 1 MB in size, or if you ever need to store more than 2 GB (limit for VARBINARY(MAX)) in a single blob.

Marc

marc_s