tags:

views:

1858

answers:

3

Hi,

I need to store binary files to the SQL Server Database. What's the better Data Type between Varbinary and Image to ?

+4  A: 

Use varbinary as image is deprecated.

http://msdn.microsoft.com/en-us/library/ms188362.aspx

cmsjr
http://msdn.microsoft.com/en-us/library/ms187993.aspx is a better link.
Christopher Edwards
+1  A: 

varbinary(max) is the way to go (introduced in SQL server 2005)

SQLMenace
+2  A: 

There is also the rather spiffy FileStream, introduced in SQL Server 2008.

Andrew Rollings