Whenever I need to store files in a database I use the varbinary (max) field, which is the maximum that the data type supports, and I simply assign a byte array to the field to store it, at this moment I am in the same situation and I have a question, is it possible to convert kilobytes, which weighs the file, to varbinary ?, what is the purpose of this ?, if I have limited to store a file of 4 mb, I can define the field varbinary of the size to store 4 mb and not use the "max" of the data type.
Greetings