SlideShare a Scribd company logo
5.5. Data Flow BasicsData Flow Basics
Presented by:
Pramod Singla
Pramod_singla@yahoo.co.in
.
ContentContent
 Recap and Q&A
 Data Flow Task
 Pipeline Architecture
 Data Sources
◦ Demo: ADO.NET Source
◦ Demo: Excel Source
◦ Demo: Flat File Source
◦ Demo: OLE DB Source
◦ Demo: XML Source
◦ Demo: Raw File Destination
◦ Demo: Raw File Source
 Data Destinations
◦ Demo: OLE DB Destination
◦ Demo: DataReader Destination
◦ Demo: Excel Destination
◦ Demo: Flat File Destination
◦ Demo: SQL Server Destination
 Analysis Services Destinations
◦ Demo: Dimension Processing
◦ Demo: Partition Processing
◦ Demo: Data Mining Model Training
 Summary
Recap and Q&ARecap and Q&A
Variables
◦ Demo: Introducing the Variables Window
◦ Demo: Working with Variables
◦ Demo :Using variables in Execute SQL task
Expressions
◦ Demo: Creating Time stamped log file
◦ Demo: Operators and More Variables
Expression Usage
◦ Demo: Using a Variable in an Expression
◦ Demo: Using an Expression with a Connection Manager
◦ Demo: Using Expressions with Precedence Constraints
Data Flow TaskData Flow Task
 Encapsulates the data flow
engine that Extract, transform, and
load data
 A Data Flow task can include multiple
data flows
 When order is important, use
multiple Data Flow tasks, each task
containing one data flow.
 Diagram includes the inputs,
outputs, ,error outputs external
columns.
Pipeline ArchitecturePipeline Architecture
 The run-time engine implements
the control flow and package
management infrastructure
 The data flow engine
is a specialized, high performance
engine that is exclusively
dedicated to extracting,
transforming, and loading data.
 The data flow engine provides the
in-memory buffers
 Arrow in dataflow are called
Service path
ADO.NET SourceADO.NET Source
 The ADO NET source consumes data from a .NET provider and makes the
data available to the data flows
 SSIS 2012 onwards, you can use the ADO NET source to connect to
Microsoft Windows Azure SQL Database
 The ADO.net source provides two different data access modes for
extracting data:
◦ A table or view.
◦ The results of an SQL statement.
Excel SourceExcel Source
 The Excel source extracts data
from worksheets or ranges in
Microsoft Excel workbooks
 The Excel source provides four
different data access modes
for extracting data:
◦ A table or view.
◦ A table or view specified in a
variable.
◦ The results of an SQL statement.
◦ The results of an SQL statement
stored in a variable.
Flat File SourceFlat File Source
 The Flat File source reads data from a
text file. The text file can be in
delimited, fixed width, or mixed format.
 Delimited format uses column and row
delimiters to define columns and rows.
 Fixed width format uses width to define
columns and rows. This format also
includes a character for padding fields to
their maximum width.
 Ragged right format uses width to define
all columns, except for the last column,
which is delimited by the row delimiter.
OLE DB SourceOLE DB Source
 The OLE DB source extracts
data from a variety of OLE DB-
compliant relational databases
 The OLE DB source provides
four different data access
modes for extracting data:
◦ A table or view.
◦ A table or view specified in a
variable.
◦ The results of an SQL statement. The
query can be a parameterized query.
◦ The results of an SQL statement
stored in a variable.
XML SourceXML Source
 The XML Source does not
require a Connection Manager,
but instead references a XML
data source either as a
◦ direct reference to a file
◦ a variable containing a file reference
or
◦ a variable containing XML data.
Raw File DestinationRaw File Destination
 The Raw File destination writes
raw data to a file. Because the
format of the data is native to
the destination
 write data more quickly than
other destinations
 You use the Raw File source
to retrieve raw data that was
previously written by the
destination
 This source does not use a
connection manager.
Raw File SourceRaw File Source
 The Raw File source reads raw
data from a file
 Reads data more quickly than
other sources
 Retrieve raw data that was
previously written by the Raw
File destination
 This source does not use a
connection manager.
OLEDB DestinationOLEDB Destination
 The OLE DB destination loads data into a variety of OLE DB-compliant databases
 The OLE DB destination provides five different data access modes for loading
data:
◦ A table or view. You can specify an existing table or view, or you create a new table.
◦ A table or view using fast-load options. You can specify an existing table or create a new table.
◦ A table or view specified in a variable.
◦ A table or view specified in a variable using fast-load options.
◦ The results of an SQL statement.
 Does not support parameters. To execute a parameterized INSERT statement,
use OLE DB Command transformation
 If OLE DB destination uses fast-load data access mode, specify following
options:
◦ Keep identity values from the imported data file or use unique values assigned by SQL Server.
◦ Retain a null value during the bulk load operation.
◦ Check constraints on the target table or view during the bulk import operation.
◦ Acquire a table-level lock for the duration of the bulk load operation.
◦ Specify the number of rows in the batch and the commit size.
DataReader DestinationDataReader Destination
 Exposes the data in a data flow by using the ADO.NET DataReader interface
 The data can then be consumed by other application
Excel DestinationExcel Destination
 The Excel destination loads data into
worksheets or ranges in Microsoft
Excel workbooks
 Can create new sheet based on input
 In Excel, a worksheet or range is the
equivalent of a table or view.
 The lists of available tables in the
Excel Source and Destination editors
display only existing worksheets
Flat File DestinationFlat File Destination
 The Flat File destination writes data to a text file
 This destination uses a Flat File connection manager to
access the text file
 Specify whether to overwrite a data in a destination file
that has the same name.
SQL Server DestinationSQL Server Destination
 Connects to a local SQL Server database and bulk loads data
 Cannot access a SQL Server database on a remote server
 Users who execute packages that include the SQL Server destination require
the "Create global objects" permission.
 Assigning "Create Global Objects" user right to that account:
 Click Start, point to Administrative Tools, and then click Local Security Policy.
 Expand Local Policies, and then click User Rights Assignment.
 In the right pane, double-click Create global objects
 In the Local Security Policy Setting dialog box, click Add.
 In the Select Users or Group dialog box, click the user accounts that you want to add,
click Add, and then click OK.
 Click OK.
 If you are running the package from either SQL Server Management
Studio (SSMS) or Business Intelligence Development Studio (BIDS)
or DTExecUI.exe, launch those tools under the elevated Administrator
account
Dimension ProcessingDimension Processing
 The Dimension Processing
destination loads and processes an
SQL Server Analysis Services
dimension
 The Dimension Processing
destination includes the following
features:
◦ Options to perform incremental, full, or update
processing.
◦ Error configuration, to specify whether
dimension processing ignores errors or stops
after a specified number of errors.
◦ Mapping of input columns to columns in
dimension tables.
Partition ProcessingPartition Processing
 The Partition Processing destination loads and processes an SQL Server Analysis
Services partition.
 The Partition Processing destination includes the following features:
◦ Options to perform incremental, full, or update processing.
◦ Error configuration, to specify whether processing ignores errors or stops after a specified number of errors.
◦ Mapping of input columns to partition columns.
SummarySummary
 Data Flow Task
 Pipeline Architecture
 Data Sources
◦ Demo: ADO.NET Source
◦ Demo: Excel Source
◦ Demo: Flat File Source
◦ Demo: OLE DB Source
◦ Demo: XML Source
◦ Demo: Raw File Destination
◦ Demo: Raw File Source
 Data Destinations
◦ Demo: OLE DB Destination
◦ Demo: DataReader Destination
◦ Demo: Excel Destination
◦ Demo: Flat File Destination
◦ Demo: SQL Server Destination
 Analysis Services Destinations
◦ Demo: Dimension Processing
◦ Demo: Partition Processing
DEMO
5_DataFlowBasics.dtsx 5_DataFlowBasics_OnlinDemo.dtsx
5\9 SSIS 2008R2_Training - DataFlow Basics
Resources & QuestionsResources & Questions
Contact me :
◦ Pramod_singla@yahoo.co.in
◦ http://pramodsingla.wordpress.com/
Microsoft Resources:
◦ http://pluralsight.com/training/courses/TableOfContents?courseName=ssis-basic&highlight=stacia-misn
◦ http://technet.microsoft.com/en-
us/library/microsoft.sqlserver.dts.pipeline.wrapper(v=sql.105).aspx
◦ http://technet.microsoft.com/en-us/library/bb522498(v=sql.105).aspx
◦ http://www.mssqltips.com/sqlservertip/2557/ssis-architecture-and-internals-interview-
questions/
◦ http://msdn.microsoft.com/en-us/library/ms141122.aspx
◦ http://www.bimonkey.com/support/ssis-component-samples-list/
◦ http://technet.microsoft.com/en-us/library/ms137622.aspx
◦ http://support.microsoft.com/kb/2009672
◦ https://www.simple-talk.com/sql/reporting-services/using-sql-server-integration-services-to-
bulk-load-data/
Ad

More Related Content

What's hot (20)

ASP.NET 09 - ADO.NET
ASP.NET 09 - ADO.NETASP.NET 09 - ADO.NET
ASP.NET 09 - ADO.NET
Randy Connolly
 
ADO.NET by ASP.NET Development Company in india
ADO.NET by ASP.NET  Development Company in indiaADO.NET by ASP.NET  Development Company in india
ADO.NET by ASP.NET Development Company in india
iFour Institute - Sustainable Learning
 
Database Connection
Database ConnectionDatabase Connection
Database Connection
John Joseph San Juan
 
Ado.net
Ado.netAdo.net
Ado.net
Iblesoft
 
MS SQL Server
MS SQL ServerMS SQL Server
MS SQL Server
Md. Mahedee Hasan
 
9\9 SSIS 2008R2_Training - Package Reliability and Package Execution
9\9 SSIS 2008R2_Training - Package Reliability and Package Execution9\9 SSIS 2008R2_Training - Package Reliability and Package Execution
9\9 SSIS 2008R2_Training - Package Reliability and Package Execution
Pramod Singla
 
A-Project Report- SSIS
A-Project Report- SSISA-Project Report- SSIS
A-Project Report- SSIS
Yubaraj Khanal
 
For Beginers - ADO.Net
For Beginers - ADO.NetFor Beginers - ADO.Net
For Beginers - ADO.Net
Snehal Harawande
 
Ch 7 data binding
Ch 7 data bindingCh 7 data binding
Ch 7 data binding
Madhuri Kavade
 
MS SQL SERVER: Programming sql server data mining
MS SQL SERVER: Programming sql server data miningMS SQL SERVER: Programming sql server data mining
MS SQL SERVER: Programming sql server data mining
DataminingTools Inc
 
Chapter 3: ado.net
Chapter 3: ado.netChapter 3: ado.net
Chapter 3: ado.net
Ngeam Soly
 
Ch06 ado.net fundamentals
Ch06 ado.net fundamentalsCh06 ado.net fundamentals
Ch06 ado.net fundamentals
Madhuri Kavade
 
ADO.NET
ADO.NETADO.NET
ADO.NET
Wani Zahoor
 
ReactJS
ReactJSReactJS
ReactJS
Ram Murat Sharma
 
ADO.NET -database connection
ADO.NET -database connectionADO.NET -database connection
ADO.NET -database connection
Anekwong Yoddumnern
 
Database Programming
Database ProgrammingDatabase Programming
Database Programming
Henry Osborne
 
MongoDB - A next-generation database that lets you create applications never ...
MongoDB - A next-generation database that lets you create applications never ...MongoDB - A next-generation database that lets you create applications never ...
MongoDB - A next-generation database that lets you create applications never ...
Ram Murat Sharma
 
JDBC ppt
JDBC pptJDBC ppt
JDBC ppt
Rohit Jain
 
Ado .net
Ado .netAdo .net
Ado .net
Manish Singh
 
Introduction to ADO.NET
Introduction to ADO.NETIntroduction to ADO.NET
Introduction to ADO.NET
rchakra
 
9\9 SSIS 2008R2_Training - Package Reliability and Package Execution
9\9 SSIS 2008R2_Training - Package Reliability and Package Execution9\9 SSIS 2008R2_Training - Package Reliability and Package Execution
9\9 SSIS 2008R2_Training - Package Reliability and Package Execution
Pramod Singla
 
A-Project Report- SSIS
A-Project Report- SSISA-Project Report- SSIS
A-Project Report- SSIS
Yubaraj Khanal
 
MS SQL SERVER: Programming sql server data mining
MS SQL SERVER: Programming sql server data miningMS SQL SERVER: Programming sql server data mining
MS SQL SERVER: Programming sql server data mining
DataminingTools Inc
 
Chapter 3: ado.net
Chapter 3: ado.netChapter 3: ado.net
Chapter 3: ado.net
Ngeam Soly
 
Ch06 ado.net fundamentals
Ch06 ado.net fundamentalsCh06 ado.net fundamentals
Ch06 ado.net fundamentals
Madhuri Kavade
 
Database Programming
Database ProgrammingDatabase Programming
Database Programming
Henry Osborne
 
MongoDB - A next-generation database that lets you create applications never ...
MongoDB - A next-generation database that lets you create applications never ...MongoDB - A next-generation database that lets you create applications never ...
MongoDB - A next-generation database that lets you create applications never ...
Ram Murat Sharma
 
Introduction to ADO.NET
Introduction to ADO.NETIntroduction to ADO.NET
Introduction to ADO.NET
rchakra
 

Viewers also liked (17)

CPV Training Slides 4
CPV Training Slides 4CPV Training Slides 4
CPV Training Slides 4
Joseph Ochogwu
 
Programa edición de sonido
Programa edición de sonidoPrograma edición de sonido
Programa edición de sonido
Yajanis Castillo
 
Ingles iii iv-study_guide
Ingles iii iv-study_guideIngles iii iv-study_guide
Ingles iii iv-study_guide
JUAN CELI
 
Centro educativo como agente social
Centro educativo como agente social Centro educativo como agente social
Centro educativo como agente social
yenmyd22
 
Enfoque de la Ciecia y Tecnologia en la Sociedad
Enfoque de la Ciecia y Tecnologia en la SociedadEnfoque de la Ciecia y Tecnologia en la Sociedad
Enfoque de la Ciecia y Tecnologia en la Sociedad
Milton Guillin
 
SQL Server Integration Services – Enterprise Manageability
SQL Server Integration Services – Enterprise ManageabilitySQL Server Integration Services – Enterprise Manageability
SQL Server Integration Services – Enterprise Manageability
Dan English
 
Advanced integration services on microsoft ssis 1
Advanced integration services on microsoft ssis 1Advanced integration services on microsoft ssis 1
Advanced integration services on microsoft ssis 1
Skillwise Group
 
Architecture of integration services
Architecture of integration servicesArchitecture of integration services
Architecture of integration services
Slava Kokaev
 
SSIS 2008 R2 data flow
SSIS 2008 R2 data flowSSIS 2008 R2 data flow
SSIS 2008 R2 data flow
Slava Kokaev
 
1\9.SSIS 2008R2_Training - Introduction to SSIS
1\9.SSIS 2008R2_Training - Introduction to SSIS1\9.SSIS 2008R2_Training - Introduction to SSIS
1\9.SSIS 2008R2_Training - Introduction to SSIS
Pramod Singla
 
SSIS control flow
SSIS control flowSSIS control flow
SSIS control flow
Slava Kokaev
 
כלב מסוג טרייאר
כלב מסוג טרייארכלב מסוג טרייאר
כלב מסוג טרייאר
חוות הכלבים של דרור
 
2012 Team F_Great Erjie
2012 Team F_Great Erjie2012 Team F_Great Erjie
2012 Team F_Great Erjie
ASLIS PO
 
2011 Team A_Mosh
2011 Team A_Mosh2011 Team A_Mosh
2011 Team A_Mosh
ASLIS PO
 
2015 Team C_C See Care
2015 Team C_C See Care 2015 Team C_C See Care
2015 Team C_C See Care
ASLIS PO
 
Emprendurismo
EmprendurismoEmprendurismo
Emprendurismo
Tatiana Del Rosario Singh
 
Programa edición de sonido
Programa edición de sonidoPrograma edición de sonido
Programa edición de sonido
Yajanis Castillo
 
Ingles iii iv-study_guide
Ingles iii iv-study_guideIngles iii iv-study_guide
Ingles iii iv-study_guide
JUAN CELI
 
Centro educativo como agente social
Centro educativo como agente social Centro educativo como agente social
Centro educativo como agente social
yenmyd22
 
Enfoque de la Ciecia y Tecnologia en la Sociedad
Enfoque de la Ciecia y Tecnologia en la SociedadEnfoque de la Ciecia y Tecnologia en la Sociedad
Enfoque de la Ciecia y Tecnologia en la Sociedad
Milton Guillin
 
SQL Server Integration Services – Enterprise Manageability
SQL Server Integration Services – Enterprise ManageabilitySQL Server Integration Services – Enterprise Manageability
SQL Server Integration Services – Enterprise Manageability
Dan English
 
Advanced integration services on microsoft ssis 1
Advanced integration services on microsoft ssis 1Advanced integration services on microsoft ssis 1
Advanced integration services on microsoft ssis 1
Skillwise Group
 
Architecture of integration services
Architecture of integration servicesArchitecture of integration services
Architecture of integration services
Slava Kokaev
 
SSIS 2008 R2 data flow
SSIS 2008 R2 data flowSSIS 2008 R2 data flow
SSIS 2008 R2 data flow
Slava Kokaev
 
1\9.SSIS 2008R2_Training - Introduction to SSIS
1\9.SSIS 2008R2_Training - Introduction to SSIS1\9.SSIS 2008R2_Training - Introduction to SSIS
1\9.SSIS 2008R2_Training - Introduction to SSIS
Pramod Singla
 
2012 Team F_Great Erjie
2012 Team F_Great Erjie2012 Team F_Great Erjie
2012 Team F_Great Erjie
ASLIS PO
 
2011 Team A_Mosh
2011 Team A_Mosh2011 Team A_Mosh
2011 Team A_Mosh
ASLIS PO
 
2015 Team C_C See Care
2015 Team C_C See Care 2015 Team C_C See Care
2015 Team C_C See Care
ASLIS PO
 
Ad

Similar to 5\9 SSIS 2008R2_Training - DataFlow Basics (20)

introductionofssis-130418034853-phpapp01.pptx
introductionofssis-130418034853-phpapp01.pptxintroductionofssis-130418034853-phpapp01.pptx
introductionofssis-130418034853-phpapp01.pptx
YashaswiniSrinivasan1
 
111111112222223333335555555666Unit-4.pptx
111111112222223333335555555666Unit-4.pptx111111112222223333335555555666Unit-4.pptx
111111112222223333335555555666Unit-4.pptx
sachaniajay26
 
Introduction of ssis
Introduction of ssisIntroduction of ssis
Introduction of ssis
deepakk073
 
Introduction to ado.net
Introduction to ado.netIntroduction to ado.net
Introduction to ado.net
Paneliya Prince
 
4) databases
4) databases4) databases
4) databases
techbed
 
Ado
AdoAdo
Ado
abhay singh
 
Chapter 4 event it theory programming.pptx
Chapter 4 event it theory programming.pptxChapter 4 event it theory programming.pptx
Chapter 4 event it theory programming.pptx
kmkkali41
 
WEB PROGRAMMING USING ASP.NET
WEB PROGRAMMING USING ASP.NETWEB PROGRAMMING USING ASP.NET
WEB PROGRAMMING USING ASP.NET
DhruvVekariya3
 
Uploading Data From Microsoft Excel - Microsoft SLQ Server 2008 (by Rakesh Mi...
Uploading Data From Microsoft Excel - Microsoft SLQ Server 2008 (by Rakesh Mi...Uploading Data From Microsoft Excel - Microsoft SLQ Server 2008 (by Rakesh Mi...
Uploading Data From Microsoft Excel - Microsoft SLQ Server 2008 (by Rakesh Mi...
Rishu Mehra
 
6 database
6 database 6 database
6 database
siragezeynu
 
Jdbc
JdbcJdbc
Jdbc
leminhvuong
 
Jdbc
JdbcJdbc
Jdbc
phanleson
 
Ado dot net complete meterial (1)
Ado dot net complete meterial (1)Ado dot net complete meterial (1)
Ado dot net complete meterial (1)
Mubarak Hussain
 
BI Publisher 11g : Data Model Design document
BI Publisher 11g : Data Model Design documentBI Publisher 11g : Data Model Design document
BI Publisher 11g : Data Model Design document
adivasoft
 
BI Publisher Data model design document
BI Publisher Data model design documentBI Publisher Data model design document
BI Publisher Data model design document
adivasoft
 
Introduction to ado
Introduction to adoIntroduction to ado
Introduction to ado
Harman Bajwa
 
2 designer
2 designer2 designer
2 designer
Ravindra Gangwar
 
SAS Online Training Institute in Hyderabad - C-Point
SAS Online Training Institute in Hyderabad - C-PointSAS Online Training Institute in Hyderabad - C-Point
SAS Online Training Institute in Hyderabad - C-Point
cpointss
 
PPT temp.pptx
PPT temp.pptxPPT temp.pptx
PPT temp.pptx
Raghunathan52
 
Databases
DatabasesDatabases
Databases
John Joseph San Juan
 
introductionofssis-130418034853-phpapp01.pptx
introductionofssis-130418034853-phpapp01.pptxintroductionofssis-130418034853-phpapp01.pptx
introductionofssis-130418034853-phpapp01.pptx
YashaswiniSrinivasan1
 
111111112222223333335555555666Unit-4.pptx
111111112222223333335555555666Unit-4.pptx111111112222223333335555555666Unit-4.pptx
111111112222223333335555555666Unit-4.pptx
sachaniajay26
 
Introduction of ssis
Introduction of ssisIntroduction of ssis
Introduction of ssis
deepakk073
 
4) databases
4) databases4) databases
4) databases
techbed
 
Chapter 4 event it theory programming.pptx
Chapter 4 event it theory programming.pptxChapter 4 event it theory programming.pptx
Chapter 4 event it theory programming.pptx
kmkkali41
 
WEB PROGRAMMING USING ASP.NET
WEB PROGRAMMING USING ASP.NETWEB PROGRAMMING USING ASP.NET
WEB PROGRAMMING USING ASP.NET
DhruvVekariya3
 
Uploading Data From Microsoft Excel - Microsoft SLQ Server 2008 (by Rakesh Mi...
Uploading Data From Microsoft Excel - Microsoft SLQ Server 2008 (by Rakesh Mi...Uploading Data From Microsoft Excel - Microsoft SLQ Server 2008 (by Rakesh Mi...
Uploading Data From Microsoft Excel - Microsoft SLQ Server 2008 (by Rakesh Mi...
Rishu Mehra
 
Ado dot net complete meterial (1)
Ado dot net complete meterial (1)Ado dot net complete meterial (1)
Ado dot net complete meterial (1)
Mubarak Hussain
 
BI Publisher 11g : Data Model Design document
BI Publisher 11g : Data Model Design documentBI Publisher 11g : Data Model Design document
BI Publisher 11g : Data Model Design document
adivasoft
 
BI Publisher Data model design document
BI Publisher Data model design documentBI Publisher Data model design document
BI Publisher Data model design document
adivasoft
 
Introduction to ado
Introduction to adoIntroduction to ado
Introduction to ado
Harman Bajwa
 
SAS Online Training Institute in Hyderabad - C-Point
SAS Online Training Institute in Hyderabad - C-PointSAS Online Training Institute in Hyderabad - C-Point
SAS Online Training Institute in Hyderabad - C-Point
cpointss
 
Ad

Recently uploaded (20)

1. Briefing Session_SEED with Hon. Governor Assam - 27.10.pdf
1. Briefing Session_SEED with Hon. Governor Assam - 27.10.pdf1. Briefing Session_SEED with Hon. Governor Assam - 27.10.pdf
1. Briefing Session_SEED with Hon. Governor Assam - 27.10.pdf
Simran112433
 
Deloitte Analytics - Applying Process Mining in an audit context
Deloitte Analytics - Applying Process Mining in an audit contextDeloitte Analytics - Applying Process Mining in an audit context
Deloitte Analytics - Applying Process Mining in an audit context
Process mining Evangelist
 
EDU533 DEMO.pptxccccvbnjjkoo jhgggggbbbb
EDU533 DEMO.pptxccccvbnjjkoo jhgggggbbbbEDU533 DEMO.pptxccccvbnjjkoo jhgggggbbbb
EDU533 DEMO.pptxccccvbnjjkoo jhgggggbbbb
JessaMaeEvangelista2
 
Flip flop presenation-Presented By Mubahir khan.pptx
Flip flop presenation-Presented By Mubahir khan.pptxFlip flop presenation-Presented By Mubahir khan.pptx
Flip flop presenation-Presented By Mubahir khan.pptx
mubashirkhan45461
 
How iCode cybertech Helped Me Recover My Lost Funds
How iCode cybertech Helped Me Recover My Lost FundsHow iCode cybertech Helped Me Recover My Lost Funds
How iCode cybertech Helped Me Recover My Lost Funds
ireneschmid345
 
Secure_File_Storage_Hybrid_Cryptography.pptx..
Secure_File_Storage_Hybrid_Cryptography.pptx..Secure_File_Storage_Hybrid_Cryptography.pptx..
Secure_File_Storage_Hybrid_Cryptography.pptx..
yuvarajreddy2002
 
Template_A3nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
Template_A3nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnTemplate_A3nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
Template_A3nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
cegiver630
 
AI Competitor Analysis: How to Monitor and Outperform Your Competitors
AI Competitor Analysis: How to Monitor and Outperform Your CompetitorsAI Competitor Analysis: How to Monitor and Outperform Your Competitors
AI Competitor Analysis: How to Monitor and Outperform Your Competitors
Contify
 
IAS-slides2-ia-aaaaaaaaaaain-business.pdf
IAS-slides2-ia-aaaaaaaaaaain-business.pdfIAS-slides2-ia-aaaaaaaaaaain-business.pdf
IAS-slides2-ia-aaaaaaaaaaain-business.pdf
mcgardenlevi9
 
C++_OOPs_DSA1_Presentation_Template.pptx
C++_OOPs_DSA1_Presentation_Template.pptxC++_OOPs_DSA1_Presentation_Template.pptx
C++_OOPs_DSA1_Presentation_Template.pptx
aquibnoor22079
 
Developing Security Orchestration, Automation, and Response Applications
Developing Security Orchestration, Automation, and Response ApplicationsDeveloping Security Orchestration, Automation, and Response Applications
Developing Security Orchestration, Automation, and Response Applications
VICTOR MAESTRE RAMIREZ
 
Conic Sectionfaggavahabaayhahahahahs.pptx
Conic Sectionfaggavahabaayhahahahahs.pptxConic Sectionfaggavahabaayhahahahahs.pptx
Conic Sectionfaggavahabaayhahahahahs.pptx
taiwanesechetan
 
Data Analytics Overview and its applications
Data Analytics Overview and its applicationsData Analytics Overview and its applications
Data Analytics Overview and its applications
JanmejayaMishra7
 
chapter 4 Variability statistical research .pptx
chapter 4 Variability statistical research .pptxchapter 4 Variability statistical research .pptx
chapter 4 Variability statistical research .pptx
justinebandajbn
 
computer organization and assembly language.docx
computer organization and assembly language.docxcomputer organization and assembly language.docx
computer organization and assembly language.docx
alisoftwareengineer1
 
Stack_and_Queue_Presentation_Final (1).pptx
Stack_and_Queue_Presentation_Final (1).pptxStack_and_Queue_Presentation_Final (1).pptx
Stack_and_Queue_Presentation_Final (1).pptx
binduraniha86
 
Molecular methods diagnostic and monitoring of infection - Repaired.pptx
Molecular methods diagnostic and monitoring of infection  -  Repaired.pptxMolecular methods diagnostic and monitoring of infection  -  Repaired.pptx
Molecular methods diagnostic and monitoring of infection - Repaired.pptx
7tzn7x5kky
 
Thingyan is now a global treasure! See how people around the world are search...
Thingyan is now a global treasure! See how people around the world are search...Thingyan is now a global treasure! See how people around the world are search...
Thingyan is now a global treasure! See how people around the world are search...
Pixellion
 
FPET_Implementation_2_MA to 360 Engage Direct.pptx
FPET_Implementation_2_MA to 360 Engage Direct.pptxFPET_Implementation_2_MA to 360 Engage Direct.pptx
FPET_Implementation_2_MA to 360 Engage Direct.pptx
ssuser4ef83d
 
Calories_Prediction_using_Linear_Regression.pptx
Calories_Prediction_using_Linear_Regression.pptxCalories_Prediction_using_Linear_Regression.pptx
Calories_Prediction_using_Linear_Regression.pptx
TijiLMAHESHWARI
 
1. Briefing Session_SEED with Hon. Governor Assam - 27.10.pdf
1. Briefing Session_SEED with Hon. Governor Assam - 27.10.pdf1. Briefing Session_SEED with Hon. Governor Assam - 27.10.pdf
1. Briefing Session_SEED with Hon. Governor Assam - 27.10.pdf
Simran112433
 
Deloitte Analytics - Applying Process Mining in an audit context
Deloitte Analytics - Applying Process Mining in an audit contextDeloitte Analytics - Applying Process Mining in an audit context
Deloitte Analytics - Applying Process Mining in an audit context
Process mining Evangelist
 
EDU533 DEMO.pptxccccvbnjjkoo jhgggggbbbb
EDU533 DEMO.pptxccccvbnjjkoo jhgggggbbbbEDU533 DEMO.pptxccccvbnjjkoo jhgggggbbbb
EDU533 DEMO.pptxccccvbnjjkoo jhgggggbbbb
JessaMaeEvangelista2
 
Flip flop presenation-Presented By Mubahir khan.pptx
Flip flop presenation-Presented By Mubahir khan.pptxFlip flop presenation-Presented By Mubahir khan.pptx
Flip flop presenation-Presented By Mubahir khan.pptx
mubashirkhan45461
 
How iCode cybertech Helped Me Recover My Lost Funds
How iCode cybertech Helped Me Recover My Lost FundsHow iCode cybertech Helped Me Recover My Lost Funds
How iCode cybertech Helped Me Recover My Lost Funds
ireneschmid345
 
Secure_File_Storage_Hybrid_Cryptography.pptx..
Secure_File_Storage_Hybrid_Cryptography.pptx..Secure_File_Storage_Hybrid_Cryptography.pptx..
Secure_File_Storage_Hybrid_Cryptography.pptx..
yuvarajreddy2002
 
Template_A3nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
Template_A3nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnTemplate_A3nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
Template_A3nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
cegiver630
 
AI Competitor Analysis: How to Monitor and Outperform Your Competitors
AI Competitor Analysis: How to Monitor and Outperform Your CompetitorsAI Competitor Analysis: How to Monitor and Outperform Your Competitors
AI Competitor Analysis: How to Monitor and Outperform Your Competitors
Contify
 
IAS-slides2-ia-aaaaaaaaaaain-business.pdf
IAS-slides2-ia-aaaaaaaaaaain-business.pdfIAS-slides2-ia-aaaaaaaaaaain-business.pdf
IAS-slides2-ia-aaaaaaaaaaain-business.pdf
mcgardenlevi9
 
C++_OOPs_DSA1_Presentation_Template.pptx
C++_OOPs_DSA1_Presentation_Template.pptxC++_OOPs_DSA1_Presentation_Template.pptx
C++_OOPs_DSA1_Presentation_Template.pptx
aquibnoor22079
 
Developing Security Orchestration, Automation, and Response Applications
Developing Security Orchestration, Automation, and Response ApplicationsDeveloping Security Orchestration, Automation, and Response Applications
Developing Security Orchestration, Automation, and Response Applications
VICTOR MAESTRE RAMIREZ
 
Conic Sectionfaggavahabaayhahahahahs.pptx
Conic Sectionfaggavahabaayhahahahahs.pptxConic Sectionfaggavahabaayhahahahahs.pptx
Conic Sectionfaggavahabaayhahahahahs.pptx
taiwanesechetan
 
Data Analytics Overview and its applications
Data Analytics Overview and its applicationsData Analytics Overview and its applications
Data Analytics Overview and its applications
JanmejayaMishra7
 
chapter 4 Variability statistical research .pptx
chapter 4 Variability statistical research .pptxchapter 4 Variability statistical research .pptx
chapter 4 Variability statistical research .pptx
justinebandajbn
 
computer organization and assembly language.docx
computer organization and assembly language.docxcomputer organization and assembly language.docx
computer organization and assembly language.docx
alisoftwareengineer1
 
Stack_and_Queue_Presentation_Final (1).pptx
Stack_and_Queue_Presentation_Final (1).pptxStack_and_Queue_Presentation_Final (1).pptx
Stack_and_Queue_Presentation_Final (1).pptx
binduraniha86
 
Molecular methods diagnostic and monitoring of infection - Repaired.pptx
Molecular methods diagnostic and monitoring of infection  -  Repaired.pptxMolecular methods diagnostic and monitoring of infection  -  Repaired.pptx
Molecular methods diagnostic and monitoring of infection - Repaired.pptx
7tzn7x5kky
 
Thingyan is now a global treasure! See how people around the world are search...
Thingyan is now a global treasure! See how people around the world are search...Thingyan is now a global treasure! See how people around the world are search...
Thingyan is now a global treasure! See how people around the world are search...
Pixellion
 
FPET_Implementation_2_MA to 360 Engage Direct.pptx
FPET_Implementation_2_MA to 360 Engage Direct.pptxFPET_Implementation_2_MA to 360 Engage Direct.pptx
FPET_Implementation_2_MA to 360 Engage Direct.pptx
ssuser4ef83d
 
Calories_Prediction_using_Linear_Regression.pptx
Calories_Prediction_using_Linear_Regression.pptxCalories_Prediction_using_Linear_Regression.pptx
Calories_Prediction_using_Linear_Regression.pptx
TijiLMAHESHWARI
 

5\9 SSIS 2008R2_Training - DataFlow Basics

  • 1. 5.5. Data Flow BasicsData Flow Basics Presented by: Pramod Singla [email protected] .
  • 2. ContentContent  Recap and Q&A  Data Flow Task  Pipeline Architecture  Data Sources ◦ Demo: ADO.NET Source ◦ Demo: Excel Source ◦ Demo: Flat File Source ◦ Demo: OLE DB Source ◦ Demo: XML Source ◦ Demo: Raw File Destination ◦ Demo: Raw File Source  Data Destinations ◦ Demo: OLE DB Destination ◦ Demo: DataReader Destination ◦ Demo: Excel Destination ◦ Demo: Flat File Destination ◦ Demo: SQL Server Destination  Analysis Services Destinations ◦ Demo: Dimension Processing ◦ Demo: Partition Processing ◦ Demo: Data Mining Model Training  Summary
  • 3. Recap and Q&ARecap and Q&A Variables ◦ Demo: Introducing the Variables Window ◦ Demo: Working with Variables ◦ Demo :Using variables in Execute SQL task Expressions ◦ Demo: Creating Time stamped log file ◦ Demo: Operators and More Variables Expression Usage ◦ Demo: Using a Variable in an Expression ◦ Demo: Using an Expression with a Connection Manager ◦ Demo: Using Expressions with Precedence Constraints
  • 4. Data Flow TaskData Flow Task  Encapsulates the data flow engine that Extract, transform, and load data  A Data Flow task can include multiple data flows  When order is important, use multiple Data Flow tasks, each task containing one data flow.  Diagram includes the inputs, outputs, ,error outputs external columns.
  • 5. Pipeline ArchitecturePipeline Architecture  The run-time engine implements the control flow and package management infrastructure  The data flow engine is a specialized, high performance engine that is exclusively dedicated to extracting, transforming, and loading data.  The data flow engine provides the in-memory buffers  Arrow in dataflow are called Service path
  • 6. ADO.NET SourceADO.NET Source  The ADO NET source consumes data from a .NET provider and makes the data available to the data flows  SSIS 2012 onwards, you can use the ADO NET source to connect to Microsoft Windows Azure SQL Database  The ADO.net source provides two different data access modes for extracting data: ◦ A table or view. ◦ The results of an SQL statement.
  • 7. Excel SourceExcel Source  The Excel source extracts data from worksheets or ranges in Microsoft Excel workbooks  The Excel source provides four different data access modes for extracting data: ◦ A table or view. ◦ A table or view specified in a variable. ◦ The results of an SQL statement. ◦ The results of an SQL statement stored in a variable.
  • 8. Flat File SourceFlat File Source  The Flat File source reads data from a text file. The text file can be in delimited, fixed width, or mixed format.  Delimited format uses column and row delimiters to define columns and rows.  Fixed width format uses width to define columns and rows. This format also includes a character for padding fields to their maximum width.  Ragged right format uses width to define all columns, except for the last column, which is delimited by the row delimiter.
  • 9. OLE DB SourceOLE DB Source  The OLE DB source extracts data from a variety of OLE DB- compliant relational databases  The OLE DB source provides four different data access modes for extracting data: ◦ A table or view. ◦ A table or view specified in a variable. ◦ The results of an SQL statement. The query can be a parameterized query. ◦ The results of an SQL statement stored in a variable.
  • 10. XML SourceXML Source  The XML Source does not require a Connection Manager, but instead references a XML data source either as a ◦ direct reference to a file ◦ a variable containing a file reference or ◦ a variable containing XML data.
  • 11. Raw File DestinationRaw File Destination  The Raw File destination writes raw data to a file. Because the format of the data is native to the destination  write data more quickly than other destinations  You use the Raw File source to retrieve raw data that was previously written by the destination  This source does not use a connection manager.
  • 12. Raw File SourceRaw File Source  The Raw File source reads raw data from a file  Reads data more quickly than other sources  Retrieve raw data that was previously written by the Raw File destination  This source does not use a connection manager.
  • 13. OLEDB DestinationOLEDB Destination  The OLE DB destination loads data into a variety of OLE DB-compliant databases  The OLE DB destination provides five different data access modes for loading data: ◦ A table or view. You can specify an existing table or view, or you create a new table. ◦ A table or view using fast-load options. You can specify an existing table or create a new table. ◦ A table or view specified in a variable. ◦ A table or view specified in a variable using fast-load options. ◦ The results of an SQL statement.  Does not support parameters. To execute a parameterized INSERT statement, use OLE DB Command transformation  If OLE DB destination uses fast-load data access mode, specify following options: ◦ Keep identity values from the imported data file or use unique values assigned by SQL Server. ◦ Retain a null value during the bulk load operation. ◦ Check constraints on the target table or view during the bulk import operation. ◦ Acquire a table-level lock for the duration of the bulk load operation. ◦ Specify the number of rows in the batch and the commit size.
  • 14. DataReader DestinationDataReader Destination  Exposes the data in a data flow by using the ADO.NET DataReader interface  The data can then be consumed by other application
  • 15. Excel DestinationExcel Destination  The Excel destination loads data into worksheets or ranges in Microsoft Excel workbooks  Can create new sheet based on input  In Excel, a worksheet or range is the equivalent of a table or view.  The lists of available tables in the Excel Source and Destination editors display only existing worksheets
  • 16. Flat File DestinationFlat File Destination  The Flat File destination writes data to a text file  This destination uses a Flat File connection manager to access the text file  Specify whether to overwrite a data in a destination file that has the same name.
  • 17. SQL Server DestinationSQL Server Destination  Connects to a local SQL Server database and bulk loads data  Cannot access a SQL Server database on a remote server  Users who execute packages that include the SQL Server destination require the "Create global objects" permission.  Assigning "Create Global Objects" user right to that account:  Click Start, point to Administrative Tools, and then click Local Security Policy.  Expand Local Policies, and then click User Rights Assignment.  In the right pane, double-click Create global objects  In the Local Security Policy Setting dialog box, click Add.  In the Select Users or Group dialog box, click the user accounts that you want to add, click Add, and then click OK.  Click OK.  If you are running the package from either SQL Server Management Studio (SSMS) or Business Intelligence Development Studio (BIDS) or DTExecUI.exe, launch those tools under the elevated Administrator account
  • 18. Dimension ProcessingDimension Processing  The Dimension Processing destination loads and processes an SQL Server Analysis Services dimension  The Dimension Processing destination includes the following features: ◦ Options to perform incremental, full, or update processing. ◦ Error configuration, to specify whether dimension processing ignores errors or stops after a specified number of errors. ◦ Mapping of input columns to columns in dimension tables.
  • 19. Partition ProcessingPartition Processing  The Partition Processing destination loads and processes an SQL Server Analysis Services partition.  The Partition Processing destination includes the following features: ◦ Options to perform incremental, full, or update processing. ◦ Error configuration, to specify whether processing ignores errors or stops after a specified number of errors. ◦ Mapping of input columns to partition columns.
  • 20. SummarySummary  Data Flow Task  Pipeline Architecture  Data Sources ◦ Demo: ADO.NET Source ◦ Demo: Excel Source ◦ Demo: Flat File Source ◦ Demo: OLE DB Source ◦ Demo: XML Source ◦ Demo: Raw File Destination ◦ Demo: Raw File Source  Data Destinations ◦ Demo: OLE DB Destination ◦ Demo: DataReader Destination ◦ Demo: Excel Destination ◦ Demo: Flat File Destination ◦ Demo: SQL Server Destination  Analysis Services Destinations ◦ Demo: Dimension Processing ◦ Demo: Partition Processing
  • 23. Resources & QuestionsResources & Questions Contact me : ◦ [email protected] ◦ http://pramodsingla.wordpress.com/ Microsoft Resources: ◦ http://pluralsight.com/training/courses/TableOfContents?courseName=ssis-basic&highlight=stacia-misn ◦ http://technet.microsoft.com/en- us/library/microsoft.sqlserver.dts.pipeline.wrapper(v=sql.105).aspx ◦ http://technet.microsoft.com/en-us/library/bb522498(v=sql.105).aspx ◦ http://www.mssqltips.com/sqlservertip/2557/ssis-architecture-and-internals-interview- questions/ ◦ http://msdn.microsoft.com/en-us/library/ms141122.aspx ◦ http://www.bimonkey.com/support/ssis-component-samples-list/ ◦ http://technet.microsoft.com/en-us/library/ms137622.aspx ◦ http://support.microsoft.com/kb/2009672 ◦ https://www.simple-talk.com/sql/reporting-services/using-sql-server-integration-services-to- bulk-load-data/