BULK INSERT Communication.Message FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0', 'Excel 8.0;Database=C:\temp\Messages201101.XLS', [messages$])
How to take the above and instead read Message.XLS from the Varbinary (max) field named FileBytes in a table named Attachments.FileContents? I already know how to put it in a table in various ways. I just don't know how to use BULK INSERT from the VarBinary (max) field.
source share