I am making a CMS of sorts and, of course, it will have a blog. So, this might be a pretty noob question, but, from a database optimization point of view, would you use a varchar(max) or a varbinary(max) to store the body of a blog post?
I would use an NVarChar(MAX)
myself, to account for Unicode too; but you can certainly use VarChar(MAX)
if you don't need Unicode. VarBinary
would be more for if you had non-text data. You could also use Text
or NText
, but those have been deprecated since sql2005.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With