Category Archives: SQL

SQL Server – Insert a file into a nvarchar column

Note to self: It’s easy to import an entire file into SQL Server. Given a table that looks like this: You can insert a text file into the Data column like this: Advertisements

Posted in SQL | 2 Comments