Press "Enter" to skip to content

SSMS and Large Text Columns

Rudy Rodarte learns a lesson:

Recently, I had to export some query results to CSV and Excel. One of the columns was extremely large query text which was defined as NVARCHAR(MAX). Here are some of the issues I faced with this request and how I over came them.

SSIS or the Import/Export wizard is fine. This is also a good use case for bcp or writing your own query using dbatools and outputting the results to file.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.