SSIS Snack: Grid Data Viewer

Introduction

SSIS Data Viewers are handy – very handy. I use them so much the Data Viewer link on my Data Flow Path context menu is showing signs of wear. I click on it that much.

Using the Grid Data Viewer

I’m starting with the Data Flow I built for SSIS Snack: The Trash Destination Adapter. The green arrow between the “Dummy Source” (OLE DB Source) and Trash Destination adapter is a Data Flow Path. Right-click it, and then click Data Viewers to open the Data Flow Path Editor:

 Click on the Add button to add a new data viewer. There are several types, accept the default Grid Type for this exercise:

 You can configure which columns appear in the Grid Data Viewer by clicking the Grid tab and selecting columns to view. Once configured, click the OK button and the close the Data Flow Path Editor. When you execute the Data Flow Task, the Grid Data Viewer will “pause” the data flowing through the data flow pipeline and display it in the grid data viewer:

 If you click the Copy button without clicking any rows, the contents of the data viewer will transferred to the clipboard. If you click rows first, only the selected rows will be copied. You can then open Excel and paste the rows – column headers and all – for more analysis:

Conclusion

Data viewers are an awesome troubleshooting utility for SSIS!

:{> Andy

 

Andy Leonard

andyleonard.blog

Christian, husband, dad, grandpa, Data Philosopher, Data Engineer, Azure Data Factory, SSIS guy, and farmer. I was cloud before cloud was cool. :{>

3 thoughts on “SSIS Snack: Grid Data Viewer

  1. Hi Andy
    I am using the dataviewer but I am not getting anything.
    The flow executes very well, I see I get the data but the viewer never display.
    Any thoughs?

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.