SQL Server truncation and 8192 limitation

You can export the data to a flat file which will not be truncated. To do this:

  1. Right click the Database
  2. Click Tasks -> Export Data
  3. Select your Data Source (defaults should be fine)
  4. Choose “Flat File Destination” for the Destination type.
  5. Pick a file name for the output.
  6. On the “Specify Table Copy or Query”, choose “Write a query to specify the data to transfer”
  7. Paste in your query

Remaining steps should be self explanatory. This will output the file to text and you can open it in your favorite text editor.

Leave a Comment