SlideShare a Scribd company logo
1 of 23
. @copyright 2014 (pramod_singla@yahoo.co.in)
Presented by:
Pramod Singla
Pramod_singla@yahoo.co.in
Content
 Recap and Q&A
 Data Flow Transformations
 Synchronous vs Asynchronous Transformations
 Row Transformations
 Demo: Character Map
 Demo: Copy Column
 Demo: Data Conversion
 Demo: Derived Column
 Demo: Export Column
 Demo: OLE DB Command
 Rowset Transformations
 Demo: Aggregate
 Demo: Sort
 Demo: Pivot
 Demo: Unpivot
 Demo: Percentage Sampling
 Demo: Row Sampling
 Summary
@copyright 2014 (pramod_singla@yahoo.co.in)
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
@copyright 2014 (pramod_singla@yahoo.co.in)
Data Flow Transformations
 These are the components that aggregate, merge, distribute, and modify data
 All the Data Flow Transformations are broadly classified into 2 types:-
 Type 1 – Synchronous Transformations.
 Type 2 – Asynchronous Transformations.
 All the Data Flow Transformations are broadly categorized as:
 Row Transformations
 Rowset Transformations
 Split and Join Transformations
 Business Intelligence Transformations
 Auditing Transformations
 Custom Transformations
@copyright 2014 (pramod_singla@yahoo.co.in)
Types of transformation
@copyright 2014 (pramod_singla@yahoo.co.in)
Types of transformation(contd..)
@copyright 2014 (pramod_singla@yahoo.co.in)
Row Transformations
 This transformation is used to update column values or create new columns.
 It transforms each row present in the pipeline (Input).
@copyright 2014 (pramod_singla@yahoo.co.in)
Character Map (Demo)
 The transformation that applies string functions to
character data.
 The following character mappings are available:
 Lowercase : changes all characters to lowercase
 Uppercase : changes all characters to uppercase
 Byte reversal : reverses the byte order of each character
 Hiragana : maps Katakana characters to Hiragana characters
 Katakana : maps Hiragana characters to Katakana characters
 Half width : changes double-byte characters to single-byte characters
 Full width : changes single-byte characters to double-byte characters
 Linguistic casing : applies linguistic casing rules instead of system casing
rules
 Simplified Chinese : maps traditional Chinese to simplified Chinese
 Traditional Chinese : maps simplified Chinese to traditional Chinese
@copyright 2014 (pramod_singla@yahoo.co.in)
Data Conversion column(Demo)
 The transformation that converts the data type of a
column to a different data type
 Can perform the following types of data conversions:
 Change the data type
 Set the column length of string data and the precision and scale
on numeric data
 Specify a code page
 If the length of an output column of string data is shorter
than the length of its corresponding input column, the
output data is truncated
@copyright 2014 (pramod_singla@yahoo.co.in)
Derived Column(Demo)
 The transformation that populates columns with the
results of expressions.
 If an expression references an input column that is
overwritten by the Derived Column transformation, the
expression uses the original value of the column, not the
derived value.
@copyright 2014 (pramod_singla@yahoo.co.in)
Export Column(Demo)
 The transformation that inserts data from a data flow into a file.
 uses pairs of input columns: One column contains a file name, and the other
column contains data.
 The data to be written must have a DT_TEXT, DT_NTEXT, or DT_IMAGE data
type.
@copyright 2014 (pramod_singla@yahoo.co.in)
Append Truncate File exists Results
False False No The transformation creates a new file and writes the data to the file.
True False No The transformation creates a new file and writes the data to the file.
False True No The transformation creates a new file and writes the data to the file.
True True No The transformation fails design time validation. It is not valid to set both
properties to true.
False False Yes A run-time error occurs. The file exists, but the transformation cannot
write to it.
False True Yes The transformation deletes and re-creates the file and writes the data to
the file.
True False Yes The transformation opens the file and writes the data at the end of the
file.
True True Yes The transformation fails design time validation. It is not valid to set both
properties to true.
OLE DB Command (Demo)
 The transformation that runs SQL commands for each
row in a data flow.
 Configure the OLE DB Command Transformation in
the following ways:
 Provide the SQL statement that the transformation runs
for each row.
 Specify the number of seconds before the SQL statement
times out.
 Specify the default code page.
@copyright 2014 (pramod_singla@yahoo.co.in)
Rowset Transformations (Demo)
 These transformations create new rowsets
 The rowset can include aggregate and sorted values, sample rowsets, or
pivoted and unpivoted rowsets.
@copyright 2014 (pramod_singla@yahoo.co.in)
Transformation Description
Aggregate Transformation The transformation that performs aggregations
such as AVERAGE, SUM, and COUNT.
Sort Transformation The transformation that sorts data.
Percentage Sampling Transformation The transformation that creates a sample data set
using a percentage to specify the sample size.
Row Sampling Transformation The transformation that creates a sample data set
by specifying the number of rows in the sample.
Pivot Transformation The transformation that creates a less normalized
version of a normalized table.
Unpivot Transformation The transformation that creates a more
normalized version of a nonnormalized table.
Pivot
 The transformation that creates a less normalized version of a normalized table.
 Equivalent to PIVOT command in TSQL
 Steps to use Pivot Transform :
 Configure OLE DB Source and use above query as Source in data flow task.
 Drag and open Pivot Transform and go to Input Columns. Select all inputs as we are going to use all
of them in Pivot.
 Go to Input and output properties and expand Pivot Default Input. Here we will configure how inputs
will be used in Pivot operations using Pivot key Value.
 Expand Pivot Default Output, Click on the Output Columns and click AddColumn. Please note that our
destination has Five Columns, all Columns needs to be manually created in this section.Configure
 Name – The name for the output column
 PivotKeyValue – The value in the pivoted column that will go into this output.
 Source Column: It is the lineage ID of the input column which holds the value for the output column.
@copyright 2014 (pramod_singla@yahoo.co.in)
Unpivot (Demo)
The transformation that creates a more
normalized version of a non-normalized table.
Equivalent to UNPIVOT command in TSQL
@copyright 2014 (pramod_singla@yahoo.co.in)
Aggregate (Demo)
 The transformation that performs aggregations such as AVERAGE, SUM, and COUNT
 The Aggregate transformation supports the following operations.
@copyright 2014 (pramod_singla@yahoo.co.in)
Operation Description
Group by Divides datasets into groups. Columns of any data type can be used for grouping. For more information, see
GROUP BY (Transact-SQL).
Sum Sums the values in a column. Only columns with numeric data types can be summed. For more information,
see SUM (Transact-SQL).
Average Returns the average of the column values in a column. Only columns with numeric data types can be
averaged. For more information, see AVG (Transact-SQL).
Count Returns the number of items in a group. For more information, see COUNT (Transact-SQL).
Count distinct Returns the number of unique nonnull values in a group.
Minimum Returns the minimum value in a group. For more information, see MIN (Transact-SQL). In contrast to the
Transact-SQL MIN function, this operation can be used only with numeric, date, and time data types.
Maximum Returns the maximum value in a group. For more information, see MAX (Transact-SQL). In contrast to the
Transact-SQL MAX function, this operation can be used only with numeric, date, and time data types.
Sort (Demo)
This Transformation sorts data
Can apply multiple sorts to an input, identified
by a numeral
The Sort transformation can also remove
duplicate rows as part of its sort
This transformation has one input and one
output. It does not support error outputs
@copyright 2014 (pramod_singla@yahoo.co.in)
Percentage Sampling
It creates a sample data set using a percentage to
specify the sample size.
 It is useful in creating sample data sets
Number of rows in the sample output may not
exactly reflect the specified percentage.
Two Named output are created:
 Sampled Output
 Unselected Ouput
@copyright 2014 (pramod_singla@yahoo.co.in)
Row Sampling (Demo)
 The transformation that creates a sample data set by
specifying the number of rows in the sample.
 Can specify the exact size of the output sample.
 This transformation is useful :
 for random sampling.
 during package development for creating a small but
representative dataset.
 Similar to the Percentage Sampling transformation.
 Has one input and two outputs. It has no error output.
@copyright 2014 (pramod_singla@yahoo.co.in)
Summary
 Data Flow Transformations
 Synchronous vs Asynchronous Transformations
 Row Transformations
 Demo: Character Map
 Demo: Copy Column
 Demo: Data Conversion
 Demo: Derived Column
 Demo: OLE DB Command
 Rowset Transformations
 Demo: Aggregate
 Demo: Sort
 Demo: Unpivot
 Demo: Pivot
 Demo: Percentage Sampling
 Demo: Row Sampling
@copyright 2014 (pramod_singla@yahoo.co.in)
DEMO
6_1_DataFlowTransformation.dtsx 6_1_DataFlowTransformation_OnlineDemo.dtsx
@copyright 2014 (pramod_singla@yahoo.co.in)
Resources & Questions
Contact me :
 Pramod_singla@yahoo.co.in
 http://pramodsingla.wordpress.com/
Microsoft Resources:
 http://www.phpring.com/data-flow-transformation-categories-in-ssis/
 http://sqlblog.com/blogs/jorg_klein/archive/2008/02/12/ssis-lookup-transformation-is-case-
sensitive.aspx
 http://pivottransform.blogspot.in/
 http://www.jasonstrate.com/2011/01/31-days-of-ssis-unpivot-transformation-1131/
@copyright 2014 (pramod_singla@yahoo.co.in)

More Related Content

What's hot

Database Programming
Database ProgrammingDatabase Programming
Database ProgrammingHenry Osborne
 
Mule dataweave
Mule dataweaveMule dataweave
Mule dataweaveSon Nguyen
 
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 miningDataminingTools Inc
 
Database Programming Techniques
Database Programming TechniquesDatabase Programming Techniques
Database Programming TechniquesRaji Ghawi
 
A-Project Report- SSIS
A-Project Report- SSISA-Project Report- SSIS
A-Project Report- SSISYubaraj Khanal
 
MuleSoft Nashik Virtual Meetup#3 - Deep Dive Into DataWeave and its Module
MuleSoft Nashik Virtual  Meetup#3 - Deep Dive Into DataWeave and its ModuleMuleSoft Nashik Virtual  Meetup#3 - Deep Dive Into DataWeave and its Module
MuleSoft Nashik Virtual Meetup#3 - Deep Dive Into DataWeave and its ModuleJitendra Bafna
 
Mule with data weave
Mule with data weaveMule with data weave
Mule with data weaveSon Nguyen
 
DataWeave 2.0 Language Fundamentals
DataWeave 2.0 Language FundamentalsDataWeave 2.0 Language Fundamentals
DataWeave 2.0 Language FundamentalsJoshua Erney
 
Chapter 3: ado.net
Chapter 3: ado.netChapter 3: ado.net
Chapter 3: ado.netNgeam Soly
 
Marmagna desai
Marmagna desaiMarmagna desai
Marmagna desaijmsthakur
 
SQL, Embedded SQL, Dynamic SQL and SQLJ
SQL, Embedded SQL, Dynamic SQL and SQLJSQL, Embedded SQL, Dynamic SQL and SQLJ
SQL, Embedded SQL, Dynamic SQL and SQLJDharita Chokshi
 
Introduction to ADO.NET
Introduction to ADO.NETIntroduction to ADO.NET
Introduction to ADO.NETrchakra
 
Data Persistence in Android with Room Library
Data Persistence in Android with Room LibraryData Persistence in Android with Room Library
Data Persistence in Android with Room LibraryReinvently
 

What's hot (20)

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
 
Database Programming
Database ProgrammingDatabase Programming
Database Programming
 
Mule dataweave
Mule dataweaveMule dataweave
Mule dataweave
 
Ado.net
Ado.netAdo.net
Ado.net
 
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
 
Database Programming Techniques
Database Programming TechniquesDatabase Programming Techniques
Database Programming Techniques
 
A-Project Report- SSIS
A-Project Report- SSISA-Project Report- SSIS
A-Project Report- SSIS
 
Dataweave nagarjuna
Dataweave nagarjunaDataweave nagarjuna
Dataweave nagarjuna
 
Database Connection
Database ConnectionDatabase Connection
Database Connection
 
MuleSoft Nashik Virtual Meetup#3 - Deep Dive Into DataWeave and its Module
MuleSoft Nashik Virtual  Meetup#3 - Deep Dive Into DataWeave and its ModuleMuleSoft Nashik Virtual  Meetup#3 - Deep Dive Into DataWeave and its Module
MuleSoft Nashik Virtual Meetup#3 - Deep Dive Into DataWeave and its Module
 
Mule with data weave
Mule with data weaveMule with data weave
Mule with data weave
 
DataWeave 2.0 Language Fundamentals
DataWeave 2.0 Language FundamentalsDataWeave 2.0 Language Fundamentals
DataWeave 2.0 Language Fundamentals
 
ADO.NET
ADO.NETADO.NET
ADO.NET
 
ADO.NET -database connection
ADO.NET -database connectionADO.NET -database connection
ADO.NET -database connection
 
Chapter 3: ado.net
Chapter 3: ado.netChapter 3: ado.net
Chapter 3: ado.net
 
Marmagna desai
Marmagna desaiMarmagna desai
Marmagna desai
 
SQL, Embedded SQL, Dynamic SQL and SQLJ
SQL, Embedded SQL, Dynamic SQL and SQLJSQL, Embedded SQL, Dynamic SQL and SQLJ
SQL, Embedded SQL, Dynamic SQL and SQLJ
 
Introduction to ADO.NET
Introduction to ADO.NETIntroduction to ADO.NET
Introduction to ADO.NET
 
Ado .net
Ado .netAdo .net
Ado .net
 
Data Persistence in Android with Room Library
Data Persistence in Android with Room LibraryData Persistence in Android with Room Library
Data Persistence in Android with Room Library
 

Viewers also liked

8\9 SSIS 2008R2_Training - Debugging_Package
8\9 SSIS 2008R2_Training - Debugging_Package8\9 SSIS 2008R2_Training - Debugging_Package
8\9 SSIS 2008R2_Training - Debugging_PackagePramod Singla
 
Cung cấp giáo viên nước ngoài - 12 tenses in English - Part 2
Cung cấp giáo viên nước ngoài - 12 tenses in English - Part 2Cung cấp giáo viên nước ngoài - 12 tenses in English - Part 2
Cung cấp giáo viên nước ngoài - 12 tenses in English - Part 2Cung Cấp Giáo Viên Nước Ngoài
 
zuk_masters_paper_final_
zuk_masters_paper_final_zuk_masters_paper_final_
zuk_masters_paper_final_Jonathan Zuk
 
Mohd AL-AMIN ID-143.0148.020
Mohd AL-AMIN   ID-143.0148.020Mohd AL-AMIN   ID-143.0148.020
Mohd AL-AMIN ID-143.0148.020mohd al amin
 
Qué son-las-fobias
Qué son-las-fobiasQué son-las-fobias
Qué son-las-fobiasRoxana Vera
 
C r e a c i ó n CREACIÓN DE LOGOS
C r e a c i ó n  CREACIÓN DE LOGOSC r e a c i ó n  CREACIÓN DE LOGOS
C r e a c i ó n CREACIÓN DE LOGOSKarla Molina Ramirez
 
New Microsoft Office Word Document
New Microsoft Office Word DocumentNew Microsoft Office Word Document
New Microsoft Office Word Documentbiplab das
 
SQL Server Integration Services – Enterprise Manageability
SQL Server Integration Services – Enterprise ManageabilitySQL Server Integration Services – Enterprise Manageability
SQL Server Integration Services – Enterprise ManageabilityDan English
 
Resumido100 mejoreslibrosdenegocio
Resumido100 mejoreslibrosdenegocioResumido100 mejoreslibrosdenegocio
Resumido100 mejoreslibrosdenegocioM. Claudia Orozco C
 
Sql server-integration-services-ssis-step-by-step-sample-chapters
Sql server-integration-services-ssis-step-by-step-sample-chaptersSql server-integration-services-ssis-step-by-step-sample-chapters
Sql server-integration-services-ssis-step-by-step-sample-chaptersNadinKa Karimou
 
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 ExecutionPramod Singla
 
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 SSISPramod Singla
 
2014 Team D_Organic Swirl
2014 Team D_Organic Swirl2014 Team D_Organic Swirl
2014 Team D_Organic SwirlASLIS PO
 

Viewers also liked (20)

8\9 SSIS 2008R2_Training - Debugging_Package
8\9 SSIS 2008R2_Training - Debugging_Package8\9 SSIS 2008R2_Training - Debugging_Package
8\9 SSIS 2008R2_Training - Debugging_Package
 
Cung cấp giáo viên nước ngoài - 12 tenses in English - Part 2
Cung cấp giáo viên nước ngoài - 12 tenses in English - Part 2Cung cấp giáo viên nước ngoài - 12 tenses in English - Part 2
Cung cấp giáo viên nước ngoài - 12 tenses in English - Part 2
 
zuk_masters_paper_final_
zuk_masters_paper_final_zuk_masters_paper_final_
zuk_masters_paper_final_
 
Mohd AL-AMIN ID-143.0148.020
Mohd AL-AMIN   ID-143.0148.020Mohd AL-AMIN   ID-143.0148.020
Mohd AL-AMIN ID-143.0148.020
 
Sri lanka foundation
Sri lanka foundationSri lanka foundation
Sri lanka foundation
 
Qué son-las-fobias
Qué son-las-fobiasQué son-las-fobias
Qué son-las-fobias
 
C r e a c i ó n CREACIÓN DE LOGOS
C r e a c i ó n  CREACIÓN DE LOGOSC r e a c i ó n  CREACIÓN DE LOGOS
C r e a c i ó n CREACIÓN DE LOGOS
 
New Microsoft Office Word Document
New Microsoft Office Word DocumentNew Microsoft Office Word Document
New Microsoft Office Word Document
 
SQL Server Integration Services – Enterprise Manageability
SQL Server Integration Services – Enterprise ManageabilitySQL Server Integration Services – Enterprise Manageability
SQL Server Integration Services – Enterprise Manageability
 
Cien formas de motivar a los demas (resumido)
Cien formas de motivar a los demas (resumido)Cien formas de motivar a los demas (resumido)
Cien formas de motivar a los demas (resumido)
 
Representacion de la información
Representacion de la informaciónRepresentacion de la información
Representacion de la información
 
Ssn0020 ssis 2012 for beginners
Ssn0020   ssis 2012 for beginnersSsn0020   ssis 2012 for beginners
Ssn0020 ssis 2012 for beginners
 
Resumido100 mejoreslibrosdenegocio
Resumido100 mejoreslibrosdenegocioResumido100 mejoreslibrosdenegocio
Resumido100 mejoreslibrosdenegocio
 
Sql server-integration-services-ssis-step-by-step-sample-chapters
Sql server-integration-services-ssis-step-by-step-sample-chaptersSql server-integration-services-ssis-step-by-step-sample-chapters
Sql server-integration-services-ssis-step-by-step-sample-chapters
 
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
 
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
 
2014 Team D_Organic Swirl
2014 Team D_Organic Swirl2014 Team D_Organic Swirl
2014 Team D_Organic Swirl
 
רועה בלגי
רועה בלגי   רועה בלגי
רועה בלגי
 
כלב מסוג סמוייד
כלב מסוג סמויידכלב מסוג סמוייד
כלב מסוג סמוייד
 
How to get started with drive
How to get started with driveHow to get started with drive
How to get started with drive
 

Similar to 6.1\9 SSIS 2008R2_Training - DataFlow Transformations

Mapping Data Flows Training April 2021
Mapping Data Flows Training April 2021Mapping Data Flows Training April 2021
Mapping Data Flows Training April 2021Mark Kromer
 
Mapping Data Flows Training deck Q1 CY22
Mapping Data Flows Training deck Q1 CY22Mapping Data Flows Training deck Q1 CY22
Mapping Data Flows Training deck Q1 CY22Mark Kromer
 
Azure Data Factory Data Flows Training (Sept 2020 Update)
Azure Data Factory Data Flows Training (Sept 2020 Update)Azure Data Factory Data Flows Training (Sept 2020 Update)
Azure Data Factory Data Flows Training (Sept 2020 Update)Mark Kromer
 
Syntactic Mediation in Grid and Web Service Architectures
Syntactic Mediation in Grid and Web Service ArchitecturesSyntactic Mediation in Grid and Web Service Architectures
Syntactic Mediation in Grid and Web Service ArchitecturesMartin Szomszor
 
Data weave (MuleSoft)
Data weave (MuleSoft)Data weave (MuleSoft)
Data weave (MuleSoft)Nandu List5
 
SSIS 2008 R2 data flow
SSIS 2008 R2 data flowSSIS 2008 R2 data flow
SSIS 2008 R2 data flowSlava Kokaev
 
Informatica Designer Module
Informatica Designer ModuleInformatica Designer Module
Informatica Designer Moduleganblues
 
Sql Server 2008 New Programmability Features
Sql Server 2008 New Programmability FeaturesSql Server 2008 New Programmability Features
Sql Server 2008 New Programmability Featuressqlserver.co.il
 
White jason presentation
White jason presentationWhite jason presentation
White jason presentationWhiteJason
 
Mule data weave_2
Mule data weave_2Mule data weave_2
Mule data weave_2kunal vishe
 
Oracle_Analytical_function.pdf
Oracle_Analytical_function.pdfOracle_Analytical_function.pdf
Oracle_Analytical_function.pdfKalyankumarVenkat1
 
Data weave reference documentation
Data weave reference documentationData weave reference documentation
Data weave reference documentationD.Rajesh Kumar
 

Similar to 6.1\9 SSIS 2008R2_Training - DataFlow Transformations (20)

Mapping Data Flows Training April 2021
Mapping Data Flows Training April 2021Mapping Data Flows Training April 2021
Mapping Data Flows Training April 2021
 
Mapping Data Flows Training deck Q1 CY22
Mapping Data Flows Training deck Q1 CY22Mapping Data Flows Training deck Q1 CY22
Mapping Data Flows Training deck Q1 CY22
 
Azure Data Factory Data Flows Training (Sept 2020 Update)
Azure Data Factory Data Flows Training (Sept 2020 Update)Azure Data Factory Data Flows Training (Sept 2020 Update)
Azure Data Factory Data Flows Training (Sept 2020 Update)
 
Syntactic Mediation in Grid and Web Service Architectures
Syntactic Mediation in Grid and Web Service ArchitecturesSyntactic Mediation in Grid and Web Service Architectures
Syntactic Mediation in Grid and Web Service Architectures
 
Data weave (MuleSoft)
Data weave (MuleSoft)Data weave (MuleSoft)
Data weave (MuleSoft)
 
SSIS 2008 R2 data flow
SSIS 2008 R2 data flowSSIS 2008 R2 data flow
SSIS 2008 R2 data flow
 
Informatica Designer Module
Informatica Designer ModuleInformatica Designer Module
Informatica Designer Module
 
Sql Server 2008 New Programmability Features
Sql Server 2008 New Programmability FeaturesSql Server 2008 New Programmability Features
Sql Server 2008 New Programmability Features
 
White jason presentation
White jason presentationWhite jason presentation
White jason presentation
 
Mule data weave_2
Mule data weave_2Mule data weave_2
Mule data weave_2
 
Module02
Module02Module02
Module02
 
Adbms
AdbmsAdbms
Adbms
 
Unit 2 web technologies
Unit 2 web technologiesUnit 2 web technologies
Unit 2 web technologies
 
Oracle report from ppt
Oracle report from pptOracle report from ppt
Oracle report from ppt
 
Potter’S Wheel
Potter’S WheelPotter’S Wheel
Potter’S Wheel
 
Ch06
Ch06Ch06
Ch06
 
Pandas csv
Pandas csvPandas csv
Pandas csv
 
Oracle SQL Advanced
Oracle SQL AdvancedOracle SQL Advanced
Oracle SQL Advanced
 
Oracle_Analytical_function.pdf
Oracle_Analytical_function.pdfOracle_Analytical_function.pdf
Oracle_Analytical_function.pdf
 
Data weave reference documentation
Data weave reference documentationData weave reference documentation
Data weave reference documentation
 

Recently uploaded

SMOTE and K-Fold Cross Validation-Presentation.pptx
SMOTE and K-Fold Cross Validation-Presentation.pptxSMOTE and K-Fold Cross Validation-Presentation.pptx
SMOTE and K-Fold Cross Validation-Presentation.pptxHaritikaChhatwal1
 
Conf42-LLM_Adding Generative AI to Real-Time Streaming Pipelines
Conf42-LLM_Adding Generative AI to Real-Time Streaming PipelinesConf42-LLM_Adding Generative AI to Real-Time Streaming Pipelines
Conf42-LLM_Adding Generative AI to Real-Time Streaming PipelinesTimothy Spann
 
Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...
Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...
Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...Boston Institute of Analytics
 
modul pembelajaran robotic Workshop _ by Slidesgo.pptx
modul pembelajaran robotic Workshop _ by Slidesgo.pptxmodul pembelajaran robotic Workshop _ by Slidesgo.pptx
modul pembelajaran robotic Workshop _ by Slidesgo.pptxaleedritatuxx
 
Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...
Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...
Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...Boston Institute of Analytics
 
INTRODUCTION TO Natural language processing
INTRODUCTION TO Natural language processingINTRODUCTION TO Natural language processing
INTRODUCTION TO Natural language processingsocarem879
 
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...Dr Arash Najmaei ( Phd., MBA, BSc)
 
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptx
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptxThe Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptx
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptxTasha Penwell
 
Unveiling the Role of Social Media Suspect Investigators in Preventing Online...
Unveiling the Role of Social Media Suspect Investigators in Preventing Online...Unveiling the Role of Social Media Suspect Investigators in Preventing Online...
Unveiling the Role of Social Media Suspect Investigators in Preventing Online...Milind Agarwal
 
Student profile product demonstration on grades, ability, well-being and mind...
Student profile product demonstration on grades, ability, well-being and mind...Student profile product demonstration on grades, ability, well-being and mind...
Student profile product demonstration on grades, ability, well-being and mind...Seán Kennedy
 
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...Amil Baba Dawood bangali
 
convolutional neural network and its applications.pdf
convolutional neural network and its applications.pdfconvolutional neural network and its applications.pdf
convolutional neural network and its applications.pdfSubhamKumar3239
 
Bank Loan Approval Analysis: A Comprehensive Data Analysis Project
Bank Loan Approval Analysis: A Comprehensive Data Analysis ProjectBank Loan Approval Analysis: A Comprehensive Data Analysis Project
Bank Loan Approval Analysis: A Comprehensive Data Analysis ProjectBoston Institute of Analytics
 
Data Factory in Microsoft Fabric (MsBIP #82)
Data Factory in Microsoft Fabric (MsBIP #82)Data Factory in Microsoft Fabric (MsBIP #82)
Data Factory in Microsoft Fabric (MsBIP #82)Cathrine Wilhelmsen
 
Digital Marketing Plan, how digital marketing works
Digital Marketing Plan, how digital marketing worksDigital Marketing Plan, how digital marketing works
Digital Marketing Plan, how digital marketing worksdeepakthakur548787
 
Semantic Shed - Squashing and Squeezing.pptx
Semantic Shed - Squashing and Squeezing.pptxSemantic Shed - Squashing and Squeezing.pptx
Semantic Shed - Squashing and Squeezing.pptxMike Bennett
 
Easter Eggs From Star Wars and in cars 1 and 2
Easter Eggs From Star Wars and in cars 1 and 2Easter Eggs From Star Wars and in cars 1 and 2
Easter Eggs From Star Wars and in cars 1 and 217djon017
 
Real-Time AI Streaming - AI Max Princeton
Real-Time AI  Streaming - AI Max PrincetonReal-Time AI  Streaming - AI Max Princeton
Real-Time AI Streaming - AI Max PrincetonTimothy Spann
 

Recently uploaded (20)

SMOTE and K-Fold Cross Validation-Presentation.pptx
SMOTE and K-Fold Cross Validation-Presentation.pptxSMOTE and K-Fold Cross Validation-Presentation.pptx
SMOTE and K-Fold Cross Validation-Presentation.pptx
 
Conf42-LLM_Adding Generative AI to Real-Time Streaming Pipelines
Conf42-LLM_Adding Generative AI to Real-Time Streaming PipelinesConf42-LLM_Adding Generative AI to Real-Time Streaming Pipelines
Conf42-LLM_Adding Generative AI to Real-Time Streaming Pipelines
 
Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...
Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...
Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...
 
modul pembelajaran robotic Workshop _ by Slidesgo.pptx
modul pembelajaran robotic Workshop _ by Slidesgo.pptxmodul pembelajaran robotic Workshop _ by Slidesgo.pptx
modul pembelajaran robotic Workshop _ by Slidesgo.pptx
 
Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...
Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...
Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...
 
Data Analysis Project: Stroke Prediction
Data Analysis Project: Stroke PredictionData Analysis Project: Stroke Prediction
Data Analysis Project: Stroke Prediction
 
INTRODUCTION TO Natural language processing
INTRODUCTION TO Natural language processingINTRODUCTION TO Natural language processing
INTRODUCTION TO Natural language processing
 
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...
 
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptx
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptxThe Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptx
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptx
 
Unveiling the Role of Social Media Suspect Investigators in Preventing Online...
Unveiling the Role of Social Media Suspect Investigators in Preventing Online...Unveiling the Role of Social Media Suspect Investigators in Preventing Online...
Unveiling the Role of Social Media Suspect Investigators in Preventing Online...
 
Insurance Churn Prediction Data Analysis Project
Insurance Churn Prediction Data Analysis ProjectInsurance Churn Prediction Data Analysis Project
Insurance Churn Prediction Data Analysis Project
 
Student profile product demonstration on grades, ability, well-being and mind...
Student profile product demonstration on grades, ability, well-being and mind...Student profile product demonstration on grades, ability, well-being and mind...
Student profile product demonstration on grades, ability, well-being and mind...
 
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...
 
convolutional neural network and its applications.pdf
convolutional neural network and its applications.pdfconvolutional neural network and its applications.pdf
convolutional neural network and its applications.pdf
 
Bank Loan Approval Analysis: A Comprehensive Data Analysis Project
Bank Loan Approval Analysis: A Comprehensive Data Analysis ProjectBank Loan Approval Analysis: A Comprehensive Data Analysis Project
Bank Loan Approval Analysis: A Comprehensive Data Analysis Project
 
Data Factory in Microsoft Fabric (MsBIP #82)
Data Factory in Microsoft Fabric (MsBIP #82)Data Factory in Microsoft Fabric (MsBIP #82)
Data Factory in Microsoft Fabric (MsBIP #82)
 
Digital Marketing Plan, how digital marketing works
Digital Marketing Plan, how digital marketing worksDigital Marketing Plan, how digital marketing works
Digital Marketing Plan, how digital marketing works
 
Semantic Shed - Squashing and Squeezing.pptx
Semantic Shed - Squashing and Squeezing.pptxSemantic Shed - Squashing and Squeezing.pptx
Semantic Shed - Squashing and Squeezing.pptx
 
Easter Eggs From Star Wars and in cars 1 and 2
Easter Eggs From Star Wars and in cars 1 and 2Easter Eggs From Star Wars and in cars 1 and 2
Easter Eggs From Star Wars and in cars 1 and 2
 
Real-Time AI Streaming - AI Max Princeton
Real-Time AI  Streaming - AI Max PrincetonReal-Time AI  Streaming - AI Max Princeton
Real-Time AI Streaming - AI Max Princeton
 

6.1\9 SSIS 2008R2_Training - DataFlow Transformations

  • 1. . @copyright 2014 (pramod_singla@yahoo.co.in) Presented by: Pramod Singla Pramod_singla@yahoo.co.in
  • 2. Content  Recap and Q&A  Data Flow Transformations  Synchronous vs Asynchronous Transformations  Row Transformations  Demo: Character Map  Demo: Copy Column  Demo: Data Conversion  Demo: Derived Column  Demo: Export Column  Demo: OLE DB Command  Rowset Transformations  Demo: Aggregate  Demo: Sort  Demo: Pivot  Demo: Unpivot  Demo: Percentage Sampling  Demo: Row Sampling  Summary @copyright 2014 (pramod_singla@yahoo.co.in)
  • 3. 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 @copyright 2014 (pramod_singla@yahoo.co.in)
  • 4. Data Flow Transformations  These are the components that aggregate, merge, distribute, and modify data  All the Data Flow Transformations are broadly classified into 2 types:-  Type 1 – Synchronous Transformations.  Type 2 – Asynchronous Transformations.  All the Data Flow Transformations are broadly categorized as:  Row Transformations  Rowset Transformations  Split and Join Transformations  Business Intelligence Transformations  Auditing Transformations  Custom Transformations @copyright 2014 (pramod_singla@yahoo.co.in)
  • 5. Types of transformation @copyright 2014 (pramod_singla@yahoo.co.in)
  • 6. Types of transformation(contd..) @copyright 2014 (pramod_singla@yahoo.co.in)
  • 7. Row Transformations  This transformation is used to update column values or create new columns.  It transforms each row present in the pipeline (Input). @copyright 2014 (pramod_singla@yahoo.co.in)
  • 8. Character Map (Demo)  The transformation that applies string functions to character data.  The following character mappings are available:  Lowercase : changes all characters to lowercase  Uppercase : changes all characters to uppercase  Byte reversal : reverses the byte order of each character  Hiragana : maps Katakana characters to Hiragana characters  Katakana : maps Hiragana characters to Katakana characters  Half width : changes double-byte characters to single-byte characters  Full width : changes single-byte characters to double-byte characters  Linguistic casing : applies linguistic casing rules instead of system casing rules  Simplified Chinese : maps traditional Chinese to simplified Chinese  Traditional Chinese : maps simplified Chinese to traditional Chinese @copyright 2014 (pramod_singla@yahoo.co.in)
  • 9. Data Conversion column(Demo)  The transformation that converts the data type of a column to a different data type  Can perform the following types of data conversions:  Change the data type  Set the column length of string data and the precision and scale on numeric data  Specify a code page  If the length of an output column of string data is shorter than the length of its corresponding input column, the output data is truncated @copyright 2014 (pramod_singla@yahoo.co.in)
  • 10. Derived Column(Demo)  The transformation that populates columns with the results of expressions.  If an expression references an input column that is overwritten by the Derived Column transformation, the expression uses the original value of the column, not the derived value. @copyright 2014 (pramod_singla@yahoo.co.in)
  • 11. Export Column(Demo)  The transformation that inserts data from a data flow into a file.  uses pairs of input columns: One column contains a file name, and the other column contains data.  The data to be written must have a DT_TEXT, DT_NTEXT, or DT_IMAGE data type. @copyright 2014 (pramod_singla@yahoo.co.in) Append Truncate File exists Results False False No The transformation creates a new file and writes the data to the file. True False No The transformation creates a new file and writes the data to the file. False True No The transformation creates a new file and writes the data to the file. True True No The transformation fails design time validation. It is not valid to set both properties to true. False False Yes A run-time error occurs. The file exists, but the transformation cannot write to it. False True Yes The transformation deletes and re-creates the file and writes the data to the file. True False Yes The transformation opens the file and writes the data at the end of the file. True True Yes The transformation fails design time validation. It is not valid to set both properties to true.
  • 12. OLE DB Command (Demo)  The transformation that runs SQL commands for each row in a data flow.  Configure the OLE DB Command Transformation in the following ways:  Provide the SQL statement that the transformation runs for each row.  Specify the number of seconds before the SQL statement times out.  Specify the default code page. @copyright 2014 (pramod_singla@yahoo.co.in)
  • 13. Rowset Transformations (Demo)  These transformations create new rowsets  The rowset can include aggregate and sorted values, sample rowsets, or pivoted and unpivoted rowsets. @copyright 2014 (pramod_singla@yahoo.co.in) Transformation Description Aggregate Transformation The transformation that performs aggregations such as AVERAGE, SUM, and COUNT. Sort Transformation The transformation that sorts data. Percentage Sampling Transformation The transformation that creates a sample data set using a percentage to specify the sample size. Row Sampling Transformation The transformation that creates a sample data set by specifying the number of rows in the sample. Pivot Transformation The transformation that creates a less normalized version of a normalized table. Unpivot Transformation The transformation that creates a more normalized version of a nonnormalized table.
  • 14. Pivot  The transformation that creates a less normalized version of a normalized table.  Equivalent to PIVOT command in TSQL  Steps to use Pivot Transform :  Configure OLE DB Source and use above query as Source in data flow task.  Drag and open Pivot Transform and go to Input Columns. Select all inputs as we are going to use all of them in Pivot.  Go to Input and output properties and expand Pivot Default Input. Here we will configure how inputs will be used in Pivot operations using Pivot key Value.  Expand Pivot Default Output, Click on the Output Columns and click AddColumn. Please note that our destination has Five Columns, all Columns needs to be manually created in this section.Configure  Name – The name for the output column  PivotKeyValue – The value in the pivoted column that will go into this output.  Source Column: It is the lineage ID of the input column which holds the value for the output column. @copyright 2014 (pramod_singla@yahoo.co.in)
  • 15. Unpivot (Demo) The transformation that creates a more normalized version of a non-normalized table. Equivalent to UNPIVOT command in TSQL @copyright 2014 (pramod_singla@yahoo.co.in)
  • 16. Aggregate (Demo)  The transformation that performs aggregations such as AVERAGE, SUM, and COUNT  The Aggregate transformation supports the following operations. @copyright 2014 (pramod_singla@yahoo.co.in) Operation Description Group by Divides datasets into groups. Columns of any data type can be used for grouping. For more information, see GROUP BY (Transact-SQL). Sum Sums the values in a column. Only columns with numeric data types can be summed. For more information, see SUM (Transact-SQL). Average Returns the average of the column values in a column. Only columns with numeric data types can be averaged. For more information, see AVG (Transact-SQL). Count Returns the number of items in a group. For more information, see COUNT (Transact-SQL). Count distinct Returns the number of unique nonnull values in a group. Minimum Returns the minimum value in a group. For more information, see MIN (Transact-SQL). In contrast to the Transact-SQL MIN function, this operation can be used only with numeric, date, and time data types. Maximum Returns the maximum value in a group. For more information, see MAX (Transact-SQL). In contrast to the Transact-SQL MAX function, this operation can be used only with numeric, date, and time data types.
  • 17. Sort (Demo) This Transformation sorts data Can apply multiple sorts to an input, identified by a numeral The Sort transformation can also remove duplicate rows as part of its sort This transformation has one input and one output. It does not support error outputs @copyright 2014 (pramod_singla@yahoo.co.in)
  • 18. Percentage Sampling It creates a sample data set using a percentage to specify the sample size.  It is useful in creating sample data sets Number of rows in the sample output may not exactly reflect the specified percentage. Two Named output are created:  Sampled Output  Unselected Ouput @copyright 2014 (pramod_singla@yahoo.co.in)
  • 19. Row Sampling (Demo)  The transformation that creates a sample data set by specifying the number of rows in the sample.  Can specify the exact size of the output sample.  This transformation is useful :  for random sampling.  during package development for creating a small but representative dataset.  Similar to the Percentage Sampling transformation.  Has one input and two outputs. It has no error output. @copyright 2014 (pramod_singla@yahoo.co.in)
  • 20. Summary  Data Flow Transformations  Synchronous vs Asynchronous Transformations  Row Transformations  Demo: Character Map  Demo: Copy Column  Demo: Data Conversion  Demo: Derived Column  Demo: OLE DB Command  Rowset Transformations  Demo: Aggregate  Demo: Sort  Demo: Unpivot  Demo: Pivot  Demo: Percentage Sampling  Demo: Row Sampling @copyright 2014 (pramod_singla@yahoo.co.in)
  • 23. Resources & Questions Contact me :  Pramod_singla@yahoo.co.in  http://pramodsingla.wordpress.com/ Microsoft Resources:  http://www.phpring.com/data-flow-transformation-categories-in-ssis/  http://sqlblog.com/blogs/jorg_klein/archive/2008/02/12/ssis-lookup-transformation-is-case- sensitive.aspx  http://pivottransform.blogspot.in/  http://www.jasonstrate.com/2011/01/31-days-of-ssis-unpivot-transformation-1131/ @copyright 2014 (pramod_singla@yahoo.co.in)

Editor's Notes

  1. http://pivottransform.blogspot.in/