The words you are searching are inside this book. To get more targeted content, please make full-text search by clicking here.

SQL Server Integration Services (SSIS) Step by Step Tutorials ( PDFDrive.com )

Discover the best professional documents and content resources in AnyFlip Document Base.
Search
Published by sanjeev.khattri.dubai, 2019-09-05 00:51:59

SQL Server Integration Services (SSIS) Step by Step Tutorials ( PDFDrive.com )

SQL Server Integration Services (SSIS) Step by Step Tutorials ( PDFDrive.com )

SQL Server Integration Services (SSIS) – Step by Step Tutorial

w
w
w
.f5
d
e
b
u
g
.n
e
t
Now when we execute the package it will do the execution but we are not sure at
what point what happens. So in order to see the transformation between the source
and the destination we can use a data viewer browser.

Data viewer provides different options to view the data, the types are: Grid,
Histogram, Scatter Plot, and Chart Format. To start the data viewer Right click on the
green arrow which connects the source and destination and select the data viewer. It
will open the window as shown below.

© Karthikeyan Anbarasan, www.f5Debug.net 324

SQL Server Integration Services (SSIS) – Step by Step Tutorial

w
w
w
.f5
d
e
b
u
g
.n
e
t
Now click on Add button to do the configuration of our required data viewer. It will
open the window as shown in the screen below.

© Karthikeyan Anbarasan, www.f5Debug.net 325

SQL Server Integration Services (SSIS) – Step by Step Tutorial

w
w
w
.f5
d
e
b
u
g
.n
e
t
Now click on ok will take the Grid view. Now we are done with the configuration and
ready to execute the package. We can see a viewer icon next to the arrow as shown in
the screen below which indicates that the viewer is active to view.

© Karthikeyan Anbarasan, www.f5Debug.net 326

SQL Server Integration Services (SSIS) – Step by Step Tutorial

Now we will execute the package and see the data viewer browser. Press F5 to
execute the package and we can see the data viewer browser as shown in the screen
below.
w
w
w
.f5
d
e
b
u
g
.n
e
t

© Karthikeyan Anbarasan, www.f5Debug.net 327

SQL Server Integration Services (SSIS) – Step by Step Tutorial

We have an arrow button in the browser, once we are done with our analysis we can
click on the button to proceed. Once we click that button the execution start and
proceed further and the final screen will appear as shown in screen below.

w
w
w
.f5
d
e
b
u
g
.n
e
t
Conclusion:

In this chapter we have seen how to use the data viewer to analyze the data and to
proceed further which acts like a debugging portion for SSIS packaging.

© Karthikeyan Anbarasan, www.f5Debug.net 328

SQL Server Integration Services (SSIS) – Step by Step Tutorial

Chapter 57

DATA VIEWERS (HISTOGRAM)

Introduction
In this chapter we are going to see how to use the Data viewers (Histogram) in SSIS
packaging. Data viewers are used as one of the debugging option for the developers to
check the data between the processes of a packaging.
Data viewers are good at places where we have a minimum data to analyze and then
executing the package at the development stage to see the changed took place in the
prior task and proceed to the next task.
Let’s jump start to see this sample how to set the properties of the control.

Steps

Follow steps 1 to 3 of the first chapter to open the BIDS project and select the right
project to work on integration services project. Once the project is created, we will see
how to use the data viewers to see the data flow.

Now once the project is opened drag and drop a source and a destination task along
with a dataflow to do some manipulation as shown in the screen below.
w
w
w
.f5
d
e
b
u
g
.n
e
t

© Karthikeyan Anbarasan, www.f5Debug.net 329

SQL Server Integration Services (SSIS) – Step by Step Tutorial

w
w
w
.f5
d
e
b
u
g
.n
e
t
Now we will do a small task on copying the data from the source table to a destination
file using the OLEDB source and Flatfile destination as shown in the screen above.

Now let’s configure both the tasks to make a flow as shown in the screen below.

© Karthikeyan Anbarasan, www.f5Debug.net 330

SQL Server Integration Services (SSIS) – Step by Step Tutorial

Source Configuration:

w
w
w
.f5
d
e
b
u
g
.n
e
t

© Karthikeyan Anbarasan, www.f5Debug.net 331

SQL Server Integration Services (SSIS) – Step by Step Tutorial

Destination Configuration:

w
w
w
.f5
d
e
b
u
g
.n
e
t

Once we are done with the configuration setting we can see our screen look as shown
in the screen below.

© Karthikeyan Anbarasan, www.f5Debug.net 332

SQL Server Integration Services (SSIS) – Step by Step Tutorial

w
w
w
.f5
d
e
b
u
g
.n
e
t
Now when we execute the package it will do the execution but we are not sure at
what point what happens. So in order to see the transformation between the source
and the destination we can use a data viewer browser.

Data viewer provides different options to view the data, the types are: Grid,
Histogram, Scatter Plot, and Chart Format. In this sample we will see how to use the
Histogram option to view. To start the data viewer Right click on the green arrow
which connects the source and destination and select the data viewer. It will open the
window as shown below.

© Karthikeyan Anbarasan, www.f5Debug.net 333

SQL Server Integration Services (SSIS) – Step by Step Tutorial

w
w
w
.f5
d
e
b
u
g
.n
e
t

Now click on Add button to do the configuration of our required data viewer. It will
open the window as shown below.

© Karthikeyan Anbarasan, www.f5Debug.net 334

SQL Server Integration Services (SSIS) – Step by Step Tutorial

w
w
w
.f5
d
e
b
u
g
.n
e
t

Now we will select the Histogram since we are going to see how to use the Histogram.
We have a tab Histogram just navigate to that tab and select the column as shown
below.

© Karthikeyan Anbarasan, www.f5Debug.net 335

SQL Server Integration Services (SSIS) – Step by Step Tutorial

w
w
w
.f5
d
e
b
u
g
.n
e
t
Now we are done with the configuration and ready to execute the package. We can
see a viewer icon next to the arrow as shown below which indicates that the viewer is
active to view.

© Karthikeyan Anbarasan, www.f5Debug.net 336

SQL Server Integration Services (SSIS) – Step by Step Tutorial

Now we will execute the package and see the data viewer browser. Press F5 to
execute the package and we can see the data viewer browser as shown in the screen
below.
w
w
w
.f5
d
e
b
u
g
.n
e
t

© Karthikeyan Anbarasan, www.f5Debug.net 337

SQL Server Integration Services (SSIS) – Step by Step Tutorial

We have an arrow button in the browser, once we are done with our analysis we can
click on the button to proceed. Once we click that button the execution start and
proceed further and the final screen will appear as below.

w
w
w
.f5
d
e
b
u
g
.n
e
t
Conclusion

In this chapter we have seen how to use the data viewer (Histogram) to analyze the
data and to proceed further which acts like a debugging portion for SSIS packaging.

© Karthikeyan Anbarasan, www.f5Debug.net 338

SQL Server Integration Services (SSIS) – Step by Step Tutorial

Chapter 58

DATA VIEWERS (SCATTER PLOT)
w
wIntroduction
w
.f5
d
e
b
u
g
.n
e
t
In this chapter we are going to see on how to use the Data viewers (Scatter Plot) in
SSIS packaging. Data viewers are used as one of the debugging option for the
developers to check the data between the processes of a packaging.

Data viewers are good at places where we have a minimum data to analyze and then
executing the package at the development stage to see the changed took place in the
prior task and proceed to the next task.

Let’s jump start to see this sample on how to set the properties of the control.

Steps

Follow steps 1 to 3 of the first chapter to open the BIDS project and select the right
project to work on integration services project. Once the project is created, we will see
on how to use the data viewers to see the data flow.

Now once the project is opened drag and drop a source and a destination task along
with a dataflow to do some manipulation as shown in the screen below.

© Karthikeyan Anbarasan, www.f5Debug.net 339

SQL Server Integration Services (SSIS) – Step by Step Tutorial

w
w
w
.f5
d
e
b
u
g
.n
e
t
Now we will do a small task on copying the data from the source table to a destination
file using the OLEDB source and FlatFile destination as shown above.

Now let’s configure both the tasks to make a flow as shown below.

© Karthikeyan Anbarasan, www.f5Debug.net 340

SQL Server Integration Services (SSIS) – Step by Step Tutorial

Source Configuration:

w
w
w
.f5
d
e
b
u
g
.n
e
t

© Karthikeyan Anbarasan, www.f5Debug.net 341

SQL Server Integration Services (SSIS) – Step by Step Tutorial

Destination Configuration:

w
w
w
.f5
d
e
b
u
g
.n
e
t

Once we are done with the configuration setting we can see our screen look as shown
in the screen below.

© Karthikeyan Anbarasan, www.f5Debug.net 342

SQL Server Integration Services (SSIS) – Step by Step Tutorial

w
w
w
.f5
d
e
b
u
g
.n
e
t
Now when we execute the package it will do the execution but we are not sure at
what point what happens. So in order to see the transformation between the source
and the destination we can use a data viewer browser.

Data viewer provides different options to view the data, the types are: Grid,
Histogram, Scatter Plot, and Chart Format. In this sample we will see on how to use
the Scatter Plot option to view. To start the data viewer Right click on the green arrow
which connects the source and destination and select the data viewer. It will open the
window as shown below.

© Karthikeyan Anbarasan, www.f5Debug.net 343












Click to View FlipBook Version