BeYourOwnGod
BeYourOwnGod

Reputation: 2425

What datatype should I use for saving a file in a SQL Azure database?

In this case it will be potentially large PDF files. I will be using Entity Framework to insert and retrieve the files. Before anyone mentions it, I am aware that many believe that I should only save the path to the file in the database. I am not interested in doing it that way in this instance. :-)

Upvotes: 3

Views: 3680

Answers (1)

Mitch Wheat
Mitch Wheat

Reputation: 300817

Although SQL Azure supports these datatypes: binary, varbinary, image, Blob storage might be a better (and cheaper) option:

Upvotes: 6

Related Questions