SlideShare a Scribd company logo
8.8. Debugging SSISDebugging SSIS
PackagesPackages
.
Presented by:
Pramod Singla
Pramod_singla@yahoo.co.in
ContentContent
 Debugging
 Debug Windows
 Breakpoints
◦ Demo: Introducing Breakpoints
◦ Demo: Working with Breakpoints
 Script Task Debugging
◦ Demo: Debugging a Script Task
 Data Viewer
◦ Demo: Using the Grid Viewer
◦ Demo: Using the Histogram Viewer
◦ Demo: Using the Scatterplot Viewer
◦ Demo: Using the Chart Viewer
Row Count Transformation
 Summary
pramod_singla@yahoo.co.in (www.pramodsingla.wordpress.com)
Recap and Q&ARecap and Q&A
 Scripting in Integration Services
◦ Demo: Get the list of names from the SSIS package store
 Script Task Configuration
◦ Demo: Configuring a Script Task
◦ Demo: Sending Email using Script task
Log method
◦ Demo: Working with the Log method
 Events
◦ Demo: Working with the Events Member
 Script Components
◦ Demo: Creating a Data Transformation Script Component
pramod_singla@yahoo.co.in (www.pramodsingla.wordpress.com)
DebuggingDebugging
 SSIS's various capabilities for
debugging packages during
development and for dealing with
errors during production execution
 Debug packages ways:
◦ Using progress reporting.
◦ View intermediate results by using
debug windows . Ctrl+Alt+O
◦ Examine the package state by setting
breakpoints.
◦ Redirecting the error constraint
◦ Using Data viewer
◦ Using row count transformation
pramod_singla@yahoo.co.in (www.pramodsingla.wordpress.com)
Debug WindowsDebug Windows
Use the object model( especially the properties and methods of
the Application class) to perform the following management tasks:
◦ To get a list of packages stored in a particular location
◦ To determine whether an individual package or folder exists, or to manage the
folders in which packages are stored
◦ To get a list of running packages and to stop a running package
◦ To get a list of roles that is available on a server or assigned to a package
pramod_singla@yahoo.co.in (www.pramodsingla.wordpress.com)
pramod_singla@yahoo.co.in (www.pramodsingla.wordpress.com)
Introducing BreakpointsIntroducing Breakpoints
 Breakpoints are powerful tools
for resolving errors and
validating functionality.
 Breakpoints function in the
control flow but not in the data
flow, which will pause the
control flow execution.
 Open the Locals window to see
variable values and the package
status.
pramod_singla@yahoo.co.in (www.pramodsingla.wordpress.com)
Working with BreakpointsWorking with Breakpoints
To set a breakpoint, highlight the task
or container:
 press F9.
 Right-click, and then click Edit
Breakpoints.
 In popup window, select the various
events where you want the
breakpoint to be set.
 Add locals to view the variable
values at these breakpoints.
pramod_singla@yahoo.co.in (www.pramodsingla.wordpress.com)
Script Task DebuggingScript Task Debugging
 Open the script task you
want to set the breakpoint
in VSTA.
 Go to the line where you
wish to setup the break
point.
 Right click on that line and
select point to Breakpoint,
and then click Insert
Breakpoint.
pramod_singla@yahoo.co.in (www.pramodsingla.wordpress.com)
Data ViewerData Viewer
 To see what kind of
data is passing
between 2 Data Flow
Tasks.
pramod_singla@yahoo.co.in (www.pramodsingla.wordpress.com)
Row Count Transformation
pramod_singla@yahoo.co.in (www.pramodsingla.wordpress.com)
 It counts rows as they pass through a data flow and
stores the final count in a variable.
 It stores value in the variable only after the last row has
passed.
 Can use row counts to update the variables used in
scripts, expressions, and property expressions.
 It has one input and one output. It does not support an
error output.
SummarySummary
 Debugging
 Debug Windows
 Breakpoints
◦ Demo: Introducing Breakpoints
◦ Demo: Working with Breakpoints
 Script Task Debugging
◦ Demo: Debugging a Script Task
 Data Viewer
◦ Demo: Using the Grid Viewer
◦ Demo: Using the Histogram Viewer
◦ Demo: Using the Scatterplot Viewer
◦ Demo: Using the Chart Viewer
Row Count Transformation
pramod_singla@yahoo.co.in (www.pramodsingla.wordpress.com)
DEMO
8_Debugging.dtsx
pramod_singla@yahoo.co.in (www.pramodsingla.wordpress.com)
Resources & QuestionsResources & Questions
Contact me :
◦ Pramod_singla@yahoo.co.in
◦ http://pramodsingla.wordpress.com/
Microsoft Resources:
◦ http://msdn.microsoft.com/en-us/library/cc304421.aspx
pramod_singla@yahoo.co.in (www.pramodsingla.wordpress.com)

More Related Content

PPT
9\9 SSIS 2008R2_Training - Package Reliability and Package Execution
PPT
3.2\9 SSIS 2008R2_Training - ControlFlow Tasks
PPT
4\9 SSIS 2008R2_Training - Expression and Variables
PPT
2\9.SSIS 2008R2 _Training - Control Flow
PPT
7\9 SSIS 2008R2_Training - Script Task
PPTX
Introduction to React JS for beginners
PPTX
React / Redux Architectures
PDF
React.js and Redux overview
9\9 SSIS 2008R2_Training - Package Reliability and Package Execution
3.2\9 SSIS 2008R2_Training - ControlFlow Tasks
4\9 SSIS 2008R2_Training - Expression and Variables
2\9.SSIS 2008R2 _Training - Control Flow
7\9 SSIS 2008R2_Training - Script Task
Introduction to React JS for beginners
React / Redux Architectures
React.js and Redux overview

What's hot (20)

PDF
React JS and Redux
PDF
React state managmenet with Redux
PPTX
React & redux
PPTX
Academy PRO: React JS. Redux & Tooling
PPTX
Redux training
PDF
An introduction to React.js
PPTX
Better web apps with React and Redux
PDF
React, Redux, ES2015 by Max Petruck
PPTX
React + Redux Introduction
PDF
React & Redux
PPTX
React render props
PPTX
Intro to React
PDF
React JS - Introduction
PPTX
Introduction to React JS
PPTX
[Final] ReactJS presentation
PPT
React js
PPTX
Introduction to React JS for beginners | Namespace IT
PPTX
ReactJS for Beginners
PPTX
A Brief Introduction to React.js
PDF
React js
React JS and Redux
React state managmenet with Redux
React & redux
Academy PRO: React JS. Redux & Tooling
Redux training
An introduction to React.js
Better web apps with React and Redux
React, Redux, ES2015 by Max Petruck
React + Redux Introduction
React & Redux
React render props
Intro to React
React JS - Introduction
Introduction to React JS
[Final] ReactJS presentation
React js
Introduction to React JS for beginners | Namespace IT
ReactJS for Beginners
A Brief Introduction to React.js
React js
Ad

Viewers also liked (20)

PPT
5\9 SSIS 2008R2_Training - DataFlow Basics
PPT
6.1\9 SSIS 2008R2_Training - DataFlow Transformations
PPT
6.2\9 SSIS 2008R2_Training - DataFlow Transformations
PPTX
Centro educativo como agente social
PPTX
CPV Training Slides 4
PDF
lokalix2015
PPTX
Programa edición de sonido
PDF
Ingles iii iv-study_guide
PPT
Enfoque de la Ciecia y Tecnologia en la Sociedad
PDF
SQL Server Integration Services – Enterprise Manageability
PDF
Ssn0020 ssis 2012 for beginners
PDF
Sql server-integration-services-ssis-step-by-step-sample-chapters
PPT
3.1\9 SSIS 2008R2_Training - ControlFlow asks
PPT
1\9.SSIS 2008R2_Training - Introduction to SSIS
PDF
2012 Team F_Great Erjie
PPTX
כלב מסוג טרייאר
PDF
2011 Team A_Mosh
PDF
2015 Team C_C See Care
DOCX
PDF
Infancias digitales
5\9 SSIS 2008R2_Training - DataFlow Basics
6.1\9 SSIS 2008R2_Training - DataFlow Transformations
6.2\9 SSIS 2008R2_Training - DataFlow Transformations
Centro educativo como agente social
CPV Training Slides 4
lokalix2015
Programa edición de sonido
Ingles iii iv-study_guide
Enfoque de la Ciecia y Tecnologia en la Sociedad
SQL Server Integration Services – Enterprise Manageability
Ssn0020 ssis 2012 for beginners
Sql server-integration-services-ssis-step-by-step-sample-chapters
3.1\9 SSIS 2008R2_Training - ControlFlow asks
1\9.SSIS 2008R2_Training - Introduction to SSIS
2012 Team F_Great Erjie
כלב מסוג טרייאר
2011 Team A_Mosh
2015 Team C_C See Care
Infancias digitales
Ad

Similar to 8\9 SSIS 2008R2_Training - Debugging_Package (20)

PDF
Practical Dynamic Actions - Intro
PPT
Week 8
PPTX
Better User Experience with .NET
PDF
Advanced iOS Debbuging (Reloaded)
PDF
Server side rendering with React and Symfony
PDF
CAW_Lecture2_10102023.pdfewwwwwwwwwwwwwww
PDF
OLT open script
PPTX
Optimizing Code Reusability for SharePoint using Linq to SharePoint & the MVP...
PDF
Angular JS2 Training Session #1
PDF
بررسی چارچوب جنگو
PPS
07 asp.net session10
PPTX
Windows Store app using XAML and C#: Enterprise Product Development
PDF
IE 8 et les standards du Web - Chris Wilson - Paris Web 2008
PPT
Silverlight 2 for Developers - TechEd New Zealand 2008
DOCX
Chicago alm user group git demo script and notes
PPTX
How to make a Load Testing with Visual Studio 2012
PPT
Rational Robot (http://www.geektester.blogspot.com)
PPTX
A Microsoft Silverlight User Group Starter Kit Made Available for Everyone to...
PPTX
Fly High With Angular - How to build an app using Angular
PPSX
07 asp.net session10
Practical Dynamic Actions - Intro
Week 8
Better User Experience with .NET
Advanced iOS Debbuging (Reloaded)
Server side rendering with React and Symfony
CAW_Lecture2_10102023.pdfewwwwwwwwwwwwwww
OLT open script
Optimizing Code Reusability for SharePoint using Linq to SharePoint & the MVP...
Angular JS2 Training Session #1
بررسی چارچوب جنگو
07 asp.net session10
Windows Store app using XAML and C#: Enterprise Product Development
IE 8 et les standards du Web - Chris Wilson - Paris Web 2008
Silverlight 2 for Developers - TechEd New Zealand 2008
Chicago alm user group git demo script and notes
How to make a Load Testing with Visual Studio 2012
Rational Robot (http://www.geektester.blogspot.com)
A Microsoft Silverlight User Group Starter Kit Made Available for Everyone to...
Fly High With Angular - How to build an app using Angular
07 asp.net session10

Recently uploaded (20)

PPTX
Supervised vs unsupervised machine learning algorithms
PPT
Miokarditis (Inflamasi pada Otot Jantung)
PPTX
Major-Components-ofNKJNNKNKNKNKronment.pptx
PPTX
climate analysis of Dhaka ,Banglades.pptx
PPTX
Introduction to Knowledge Engineering Part 1
PPTX
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
PDF
Lecture1 pattern recognition............
PPTX
Business Ppt On Nestle.pptx huunnnhhgfvu
PPTX
ALIMENTARY AND BILIARY CONDITIONS 3-1.pptx
PPTX
IB Computer Science - Internal Assessment.pptx
PDF
Galatica Smart Energy Infrastructure Startup Pitch Deck
PPTX
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
PPTX
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
PDF
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”
PDF
TRAFFIC-MANAGEMENT-AND-ACCIDENT-INVESTIGATION-WITH-DRIVING-PDF-FILE.pdf
PDF
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
PPTX
CEE 2 REPORT G7.pptxbdbshjdgsgjgsjfiuhsd
PPT
Chapter 3 METAL JOINING.pptnnnnnnnnnnnnn
PDF
Launch Your Data Science Career in Kochi – 2025
Supervised vs unsupervised machine learning algorithms
Miokarditis (Inflamasi pada Otot Jantung)
Major-Components-ofNKJNNKNKNKNKronment.pptx
climate analysis of Dhaka ,Banglades.pptx
Introduction to Knowledge Engineering Part 1
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
Lecture1 pattern recognition............
Business Ppt On Nestle.pptx huunnnhhgfvu
ALIMENTARY AND BILIARY CONDITIONS 3-1.pptx
IB Computer Science - Internal Assessment.pptx
Galatica Smart Energy Infrastructure Startup Pitch Deck
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”
TRAFFIC-MANAGEMENT-AND-ACCIDENT-INVESTIGATION-WITH-DRIVING-PDF-FILE.pdf
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
CEE 2 REPORT G7.pptxbdbshjdgsgjgsjfiuhsd
Chapter 3 METAL JOINING.pptnnnnnnnnnnnnn
Launch Your Data Science Career in Kochi – 2025

8\9 SSIS 2008R2_Training - Debugging_Package

  • 1. 8.8. Debugging SSISDebugging SSIS PackagesPackages . Presented by: Pramod Singla Pramod_singla@yahoo.co.in
  • 2. ContentContent  Debugging  Debug Windows  Breakpoints ◦ Demo: Introducing Breakpoints ◦ Demo: Working with Breakpoints  Script Task Debugging ◦ Demo: Debugging a Script Task  Data Viewer ◦ Demo: Using the Grid Viewer ◦ Demo: Using the Histogram Viewer ◦ Demo: Using the Scatterplot Viewer ◦ Demo: Using the Chart Viewer Row Count Transformation  Summary pramod_singla@yahoo.co.in (www.pramodsingla.wordpress.com)
  • 3. Recap and Q&ARecap and Q&A  Scripting in Integration Services ◦ Demo: Get the list of names from the SSIS package store  Script Task Configuration ◦ Demo: Configuring a Script Task ◦ Demo: Sending Email using Script task Log method ◦ Demo: Working with the Log method  Events ◦ Demo: Working with the Events Member  Script Components ◦ Demo: Creating a Data Transformation Script Component pramod_singla@yahoo.co.in (www.pramodsingla.wordpress.com)
  • 4. DebuggingDebugging  SSIS's various capabilities for debugging packages during development and for dealing with errors during production execution  Debug packages ways: ◦ Using progress reporting. ◦ View intermediate results by using debug windows . Ctrl+Alt+O ◦ Examine the package state by setting breakpoints. ◦ Redirecting the error constraint ◦ Using Data viewer ◦ Using row count transformation pramod_singla@yahoo.co.in (www.pramodsingla.wordpress.com)
  • 5. Debug WindowsDebug Windows Use the object model( especially the properties and methods of the Application class) to perform the following management tasks: ◦ To get a list of packages stored in a particular location ◦ To determine whether an individual package or folder exists, or to manage the folders in which packages are stored ◦ To get a list of running packages and to stop a running package ◦ To get a list of roles that is available on a server or assigned to a package pramod_singla@yahoo.co.in (www.pramodsingla.wordpress.com) pramod_singla@yahoo.co.in (www.pramodsingla.wordpress.com)
  • 6. Introducing BreakpointsIntroducing Breakpoints  Breakpoints are powerful tools for resolving errors and validating functionality.  Breakpoints function in the control flow but not in the data flow, which will pause the control flow execution.  Open the Locals window to see variable values and the package status. pramod_singla@yahoo.co.in (www.pramodsingla.wordpress.com)
  • 7. Working with BreakpointsWorking with Breakpoints To set a breakpoint, highlight the task or container:  press F9.  Right-click, and then click Edit Breakpoints.  In popup window, select the various events where you want the breakpoint to be set.  Add locals to view the variable values at these breakpoints. pramod_singla@yahoo.co.in (www.pramodsingla.wordpress.com)
  • 8. Script Task DebuggingScript Task Debugging  Open the script task you want to set the breakpoint in VSTA.  Go to the line where you wish to setup the break point.  Right click on that line and select point to Breakpoint, and then click Insert Breakpoint. pramod_singla@yahoo.co.in (www.pramodsingla.wordpress.com)
  • 9. Data ViewerData Viewer  To see what kind of data is passing between 2 Data Flow Tasks. pramod_singla@yahoo.co.in (www.pramodsingla.wordpress.com)
  • 10. Row Count Transformation pramod_singla@yahoo.co.in (www.pramodsingla.wordpress.com)  It counts rows as they pass through a data flow and stores the final count in a variable.  It stores value in the variable only after the last row has passed.  Can use row counts to update the variables used in scripts, expressions, and property expressions.  It has one input and one output. It does not support an error output.
  • 11. SummarySummary  Debugging  Debug Windows  Breakpoints ◦ Demo: Introducing Breakpoints ◦ Demo: Working with Breakpoints  Script Task Debugging ◦ Demo: Debugging a Script Task  Data Viewer ◦ Demo: Using the Grid Viewer ◦ Demo: Using the Histogram Viewer ◦ Demo: Using the Scatterplot Viewer ◦ Demo: Using the Chart Viewer Row Count Transformation pramod_singla@yahoo.co.in (www.pramodsingla.wordpress.com)
  • 14. Resources & QuestionsResources & Questions Contact me : ◦ Pramod_singla@yahoo.co.in ◦ http://pramodsingla.wordpress.com/ Microsoft Resources: ◦ http://msdn.microsoft.com/en-us/library/cc304421.aspx pramod_singla@yahoo.co.in (www.pramodsingla.wordpress.com)