title: Insert file content in `varbinary` column
body: <p>I need to write a simple SQL script to insert a new line to a table with a <code>varbinary</code> column that is supposed to hold the content of files. I have tried : </p>
  
  <pre><code>DECLARE @FileContent varbinary(max)
  SET @FileContent = SELECT * FROM OPENROWSET (BULK 'pathToFile', SINGLE_BLOB);
  
  INSERT INTO [MyTable] ([Name], [Content])
  VALUES ('Dummy', @FileContent)
  </code></pre>
  
  <p>But it does not compile...</p>