title: Datatype for storing pdf in sql table
body: <p>I would like to insert a pdf into a column of a sql table.</p>
  
  <p>I have defined a varbinary(max) datatype for this column.</p>
  
  <p>When I open this pdf in notepad++, it starts with something like this </p>
  
  <p>%PDF-1.6
  %äãÏÒ
  1 0 obj
  [/PDF/ImageB/ImageC/ImageI/Text]
  endobj
  3 0 obj
  &lt;</p>
  
  <p>This doesn't seem to be in binary format.</p>
  
  <p>How can I insert a pdf which looks like the above format in a sql column and of what datatype?</p>