SlideShare a Scribd company logo
1 of 31
Presented By :- Deepak Kumar
What is ssis ?
⚫ SQL Server Integration Services (SSIS) is acomponentof the
Microsoft SQL Server database software that can be used to
performa broad rangeof data integration tasks.
⚫ SSIS is a platform fordata integrationand workflow applications.
It features a fast and flexible data warehousing tool used for data
extraction, transformation, and loading (ETL).
⚫ Data import/Export Wizard
It makeseasy to data move one data base to another database.
SSIS is used to extract data from any of a myriad of sources, such
as SQL Server databases, flat files, Excel files, Oracle and DB2
databases, etc. It performsdata manipulationand transformation
on thedataand delivers it tooneor moredatadestinations.
Why we use SSIS:-
⚫ Connections toavast number of data sources - flat files, other, excel file and more than
onedatabase sourcesand XML sources, etc.
⚫ Atone point of timewecan send Data to many Destination – Flat Files, Xml source which
wecan’t do through SSMS.
⚫ Wecan handle errors in SSIS in good way
.
⚫ SSIS provide one useful functionality which allow the Developers the ability to see data as
it flows through SSIS pipeline. Basically it can display the Data Output before putting the
Data in theirActual Destinationwhich I guesswecan’tdo in SSMS.
⚫ ETL tools in most cases contain a GUI that helps users conveniently transform data as
opposed towriting largeprograms to parse files and modify data types - which ETL tools
facilitateas much as possible.
⚫ Check Points help tocapture the package execution likea recorderand assists in restarting
the package execution from the point of failure instead of running the package from the
beginning.
⚫ Youcan perform most of the taskswith minimal or no coding. Itcan load millions of rows
from one data source toanotherwithin few minutes.
Component of SSIS :-
SSIS
Control
Flow Task
Data
Flow Task
Event
Handlers
Tools of Control Flow Task:-
Control flow items Maintenance plan task
Tools of Data Flow Task:-
Description of some control flow task:-
⚫Bulk insert task:- This tools is use to bulk insert in
database.
⚫Comp0nentof bulk insert task:
 Connection:- databaseconnectivity towhom data has
to be inserted.
Destination table name:- The nameof table in which
thedata has to be inserted
Format:- formatof file specifyor use file theseare two
component of file.
Source Connection:- here specify the filewhich to be
uploaded.
Bulk Insert task Editor:-
Execute SQL Task:-
⚫This is used forcreate, truncateordrop the table.
⚫Wecan also used toexecuteselect ,insert, or update
statement.
⚫Through this task wecan execute the procedure.
⚫Create, drop, Truncate Excel Sheet through this tools.
Execute SQL TASK editor:-
Execute file system task:-
⚫ The File System task performs operations on files and directories in the file system. For
example, by using the File System task, a package can create, move, or delete directories
and files. You can also use the File System task to setattributes on files and directories. For
example, the File System task can make files hidden orread-only
⚫ The File System task includes a predefined setof operations. The following tabledescribes
theseoperations
File System Task Editor:-
Recursive Tools:-
⚫Where we have to need to perform any repeated task
for this SSIS give us two tools which is used to use in
SSIS package.
⚫For Loop Containerand Foreach Loop Task :-
For Loop container:-
⚫ The For Loop containerdefines a repeating control flow in a package. The loop implementation is
similarto the For looping structure in programming languages. In each repeat of the loop, the For
Loop container evaluates an expression and repeats its workflow until the expression evaluates to
False.
⚫ The For Loop containeruses the following elements to define the loop:
⚫ An optional initialization expression that assignsvalues to the loopcounters.
⚫ An evaluation expression that contains the expression used to test whether the loop should stop or
continue.
⚫ An optional iteration expression that incrementsordecrements the loop counter.
Script Task:-
⚫ The Script task providescode toperform functions thatare not
available in the built-in tasksand transformations that SQL
Server Integration Services provides. The Script task can alsocombine
functions in one script instead of using multiple tasks and
transformations. You use the Script task for work that must be done
once in a package (oronceperenumerated object), instead thanonce
perdata row.
⚫ Youcan configurethe Script task in the following ways:
⚫ Provide thecustom script that the task runs.
⚫ Specify the method in the VSTA project that the Integration Services
runtimecalls as theentry point into the Script task code.
⚫ Specify the script language.
⚫ Optionally, provide lists of read-only and read/writevariables for use in
the script.
⚫ You can set these properties through SSIS Designeror
programmatically
Data Flow Task:-
⚫This isvery specialized task load transforms Data into
an OLE DB destination.
⚫The Data Flow task encapsulates thedata flow engine
that moves data between sources and destinations,
and lets the usertransform, clean, and modify dataas
it is moved. Addition of a Data Flow task toa package
control flow makes it possible for the package to
extract, transform, and load data.
Sources and Destination of Data Flow Task:-
OLE DB Source and OLE DB Destination:-
⚫OLE DB Source:- This is used to fetch thedata from a
tableof databaseor fetch thedata from procedure.
⚫OLE DB Destination:- This is used to insert thedata
from onedatabase toanotherdatabase.
OLE DB Source Editor:-
OLE DB DestinationEditor:-
Excel Source and destination:-
⚫Excel Source:- it is used todata import through excel
sheetwhich is in any format.
⚫Excel sheet only accepts Unicode string (DT_WSTR)
but OLE DB sourceordestination both support NON-
Unicode String (DT_STR). When we import the data
from excel sheet to database then always we have to
convertdata through Unicode to non Unicode.
⚫As sameas when weare using Excel Destination then
we have toconvert thedata non Unicode to Unicode.
Excel Source Editor:-
Excel Destination Editor:-
Some Important Dataflow Transformation Tools:-
⚫Data Conversion:- it is used toconvertthe data types
from one source toanotherdestination.
⚫Data Conversion Editor:-
Multicast Operator:-
⚫It is used todistribute thedata from one source to
anotherdifferentdestinations.
Conditional Split:-
⚫The Conditional Split transformation can route data rows
todifferentoutputs depending on thecontent of thedata.
The implementation of the Conditional Split
transformation is similar to a CASE decision structure in a
programming language. The transformation evaluates
expressions, and based on the results, directs the data row
to the specified output. This transformationalso provides a
default output, so that if a row matches no expression it is
directed to thedefaultoutput.
Derived Column:-
⚫The Derived Column transformationcreates new column
values by applying expressions to transformation input
columns. An expression can contain any combination of
variables, functions, operators, and columns from the
transformation input. The result can be added as a new
column or inserted into an existing column as a
replacement value. The Derived Column transformation
can define multiple derived columns, and any variable or
inputcolumns can appear in multipleexpressions.
Lookup Transformation:-
⚫The Lookup transformation performs lookups by joining
data in inputcolumns with columns in a referencedataset.
You use the lookup to access additional information in a
related table that is based on values in common columns.
⚫The reference dataset can be a cache file, an existing table
orview, a new table, or the result of an SQL query
. The
Lookup transformation uses eitheran OLE DB connection
managerora Cacheconnection manager toconnect to the
reference dataset. For more information, see OLE DB
Connection Managerand Cache Connection Manager
⚫You can configure the Lookup transformation in the
following ways:
Data upload from Excel to OLE DB Destination:-
⚫Forachieve this goal we have to takeadata f low task from
Control Flow task.
⚫Afterthatwe have to take threedata flow tools.
⚫ Excel source :- In data flow task drag and drop excel source
and create the connection through excel file as per discussed
in above. Once aconnection is established then wecan allow
the column which has to be inserted in database. After that
Click ok and we have togo next stepwhich is dataconversion
⚫ Data conversion:- if the any varchar column is exists then the
column has to converted into DT_STR and we have to link to
the OLE DB Destination.
⚫ OLE DB Destination:- Create a Connection to the database
and after that select a table in which data has to be inserted
Or Click on newand createa new table in which thedata has
to be inserted. Afterthat mapping thecolumn.
Data Export from Database to different Destination:-

More Related Content

Similar to introductionofssis-130418034853-phpapp01.pptx

Kaashiv SQL Server Interview Questions Presentation
Kaashiv SQL Server Interview Questions PresentationKaashiv SQL Server Interview Questions Presentation
Kaashiv SQL Server Interview Questions Presentationkaashiv1
 
How to – wrap soap web service around a database
How to – wrap soap web service around a databaseHow to – wrap soap web service around a database
How to – wrap soap web service around a databaseSon Nguyen
 
Business Intelligence Portfolio
Business Intelligence PortfolioBusiness Intelligence Portfolio
Business Intelligence Portfoliopleeloy
 
Sql interview question part 6
Sql interview question part 6Sql interview question part 6
Sql interview question part 6kaashiv1
 
Sql interview-question-part-6
Sql interview-question-part-6Sql interview-question-part-6
Sql interview-question-part-6kaashiv1
 
Sql interview-question-part-6
Sql interview-question-part-6Sql interview-question-part-6
Sql interview-question-part-6kaashiv1
 
SQL PPT.pptx
SQL PPT.pptxSQL PPT.pptx
SQL PPT.pptxKulbir4
 
MMYERS Portfolio
MMYERS PortfolioMMYERS Portfolio
MMYERS PortfolioMike Myers
 
Mule connectors-part 1
Mule connectors-part 1Mule connectors-part 1
Mule connectors-part 1VirtusaPolaris
 
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
 
Resume_Navneet_Formatted
Resume_Navneet_FormattedResume_Navneet_Formatted
Resume_Navneet_FormattedNavneet Tiwari
 
Etl with talend (big data)
Etl with talend (big data)Etl with talend (big data)
Etl with talend (big data)pomishra
 

Similar to introductionofssis-130418034853-phpapp01.pptx (20)

Kaashiv SQL Server Interview Questions Presentation
Kaashiv SQL Server Interview Questions PresentationKaashiv SQL Server Interview Questions Presentation
Kaashiv SQL Server Interview Questions Presentation
 
How to – wrap soap web service around a database
How to – wrap soap web service around a databaseHow to – wrap soap web service around a database
How to – wrap soap web service around a database
 
Business Intelligence Portfolio
Business Intelligence PortfolioBusiness Intelligence Portfolio
Business Intelligence Portfolio
 
Ado
AdoAdo
Ado
 
Ebook6
Ebook6Ebook6
Ebook6
 
Sql interview question part 6
Sql interview question part 6Sql interview question part 6
Sql interview question part 6
 
Ebook6
Ebook6Ebook6
Ebook6
 
Sql interview-question-part-6
Sql interview-question-part-6Sql interview-question-part-6
Sql interview-question-part-6
 
Sql interview-question-part-6
Sql interview-question-part-6Sql interview-question-part-6
Sql interview-question-part-6
 
SQL PPT.pptx
SQL PPT.pptxSQL PPT.pptx
SQL PPT.pptx
 
MMYERS Portfolio
MMYERS PortfolioMMYERS Portfolio
MMYERS Portfolio
 
06 SSIS Data Flow
06 SSIS Data Flow06 SSIS Data Flow
06 SSIS Data Flow
 
Ebook11
Ebook11Ebook11
Ebook11
 
Mule connectors-part 1
Mule connectors-part 1Mule connectors-part 1
Mule connectors-part 1
 
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...
 
Resume_Navneet_Formatted
Resume_Navneet_FormattedResume_Navneet_Formatted
Resume_Navneet_Formatted
 
Etl with talend (big data)
Etl with talend (big data)Etl with talend (big data)
Etl with talend (big data)
 
Simple ETL Solution - Marco Kiesewetter
Simple ETL Solution - Marco KiesewetterSimple ETL Solution - Marco Kiesewetter
Simple ETL Solution - Marco Kiesewetter
 
It ready dw_day3_rev00
It ready dw_day3_rev00It ready dw_day3_rev00
It ready dw_day3_rev00
 
Excelerate By Via
Excelerate By ViaExcelerate By Via
Excelerate By Via
 

More from YashaswiniSrinivasan1 (9)

1-161103092724.pptx
1-161103092724.pptx1-161103092724.pptx
1-161103092724.pptx
 
datetimefuction-170413055211.pptx
datetimefuction-170413055211.pptxdatetimefuction-170413055211.pptx
datetimefuction-170413055211.pptx
 
thegrowingimportanceofdatacleaning-211202141902.pptx
thegrowingimportanceofdatacleaning-211202141902.pptxthegrowingimportanceofdatacleaning-211202141902.pptx
thegrowingimportanceofdatacleaning-211202141902.pptx
 
stored.ppt
stored.pptstored.ppt
stored.ppt
 
Chapter5.ppt
Chapter5.pptChapter5.ppt
Chapter5.ppt
 
database.ppt
database.pptdatabase.ppt
database.ppt
 
ms-sql-server-150223140402-conversion-gate02.pptx
ms-sql-server-150223140402-conversion-gate02.pptxms-sql-server-150223140402-conversion-gate02.pptx
ms-sql-server-150223140402-conversion-gate02.pptx
 
lecture-sql.ppt
lecture-sql.pptlecture-sql.ppt
lecture-sql.ppt
 
ch1.ppt
ch1.pptch1.ppt
ch1.ppt
 

Recently uploaded

Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetEnjoy Anytime
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 

Recently uploaded (20)

The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 

introductionofssis-130418034853-phpapp01.pptx

  • 1. Presented By :- Deepak Kumar
  • 2. What is ssis ? ⚫ SQL Server Integration Services (SSIS) is acomponentof the Microsoft SQL Server database software that can be used to performa broad rangeof data integration tasks. ⚫ SSIS is a platform fordata integrationand workflow applications. It features a fast and flexible data warehousing tool used for data extraction, transformation, and loading (ETL). ⚫ Data import/Export Wizard It makeseasy to data move one data base to another database. SSIS is used to extract data from any of a myriad of sources, such as SQL Server databases, flat files, Excel files, Oracle and DB2 databases, etc. It performsdata manipulationand transformation on thedataand delivers it tooneor moredatadestinations.
  • 3. Why we use SSIS:- ⚫ Connections toavast number of data sources - flat files, other, excel file and more than onedatabase sourcesand XML sources, etc. ⚫ Atone point of timewecan send Data to many Destination – Flat Files, Xml source which wecan’t do through SSMS. ⚫ Wecan handle errors in SSIS in good way . ⚫ SSIS provide one useful functionality which allow the Developers the ability to see data as it flows through SSIS pipeline. Basically it can display the Data Output before putting the Data in theirActual Destinationwhich I guesswecan’tdo in SSMS. ⚫ ETL tools in most cases contain a GUI that helps users conveniently transform data as opposed towriting largeprograms to parse files and modify data types - which ETL tools facilitateas much as possible. ⚫ Check Points help tocapture the package execution likea recorderand assists in restarting the package execution from the point of failure instead of running the package from the beginning. ⚫ Youcan perform most of the taskswith minimal or no coding. Itcan load millions of rows from one data source toanotherwithin few minutes.
  • 4. Component of SSIS :- SSIS Control Flow Task Data Flow Task Event Handlers
  • 5. Tools of Control Flow Task:- Control flow items Maintenance plan task
  • 6. Tools of Data Flow Task:-
  • 7. Description of some control flow task:- ⚫Bulk insert task:- This tools is use to bulk insert in database. ⚫Comp0nentof bulk insert task:  Connection:- databaseconnectivity towhom data has to be inserted. Destination table name:- The nameof table in which thedata has to be inserted Format:- formatof file specifyor use file theseare two component of file. Source Connection:- here specify the filewhich to be uploaded.
  • 8. Bulk Insert task Editor:-
  • 9. Execute SQL Task:- ⚫This is used forcreate, truncateordrop the table. ⚫Wecan also used toexecuteselect ,insert, or update statement. ⚫Through this task wecan execute the procedure. ⚫Create, drop, Truncate Excel Sheet through this tools.
  • 10. Execute SQL TASK editor:-
  • 11. Execute file system task:- ⚫ The File System task performs operations on files and directories in the file system. For example, by using the File System task, a package can create, move, or delete directories and files. You can also use the File System task to setattributes on files and directories. For example, the File System task can make files hidden orread-only ⚫ The File System task includes a predefined setof operations. The following tabledescribes theseoperations
  • 12. File System Task Editor:-
  • 13. Recursive Tools:- ⚫Where we have to need to perform any repeated task for this SSIS give us two tools which is used to use in SSIS package. ⚫For Loop Containerand Foreach Loop Task :-
  • 14. For Loop container:- ⚫ The For Loop containerdefines a repeating control flow in a package. The loop implementation is similarto the For looping structure in programming languages. In each repeat of the loop, the For Loop container evaluates an expression and repeats its workflow until the expression evaluates to False. ⚫ The For Loop containeruses the following elements to define the loop: ⚫ An optional initialization expression that assignsvalues to the loopcounters. ⚫ An evaluation expression that contains the expression used to test whether the loop should stop or continue. ⚫ An optional iteration expression that incrementsordecrements the loop counter.
  • 15. Script Task:- ⚫ The Script task providescode toperform functions thatare not available in the built-in tasksand transformations that SQL Server Integration Services provides. The Script task can alsocombine functions in one script instead of using multiple tasks and transformations. You use the Script task for work that must be done once in a package (oronceperenumerated object), instead thanonce perdata row. ⚫ Youcan configurethe Script task in the following ways: ⚫ Provide thecustom script that the task runs. ⚫ Specify the method in the VSTA project that the Integration Services runtimecalls as theentry point into the Script task code. ⚫ Specify the script language. ⚫ Optionally, provide lists of read-only and read/writevariables for use in the script. ⚫ You can set these properties through SSIS Designeror programmatically
  • 16. Data Flow Task:- ⚫This isvery specialized task load transforms Data into an OLE DB destination. ⚫The Data Flow task encapsulates thedata flow engine that moves data between sources and destinations, and lets the usertransform, clean, and modify dataas it is moved. Addition of a Data Flow task toa package control flow makes it possible for the package to extract, transform, and load data.
  • 17. Sources and Destination of Data Flow Task:-
  • 18. OLE DB Source and OLE DB Destination:- ⚫OLE DB Source:- This is used to fetch thedata from a tableof databaseor fetch thedata from procedure. ⚫OLE DB Destination:- This is used to insert thedata from onedatabase toanotherdatabase.
  • 19. OLE DB Source Editor:-
  • 21. Excel Source and destination:- ⚫Excel Source:- it is used todata import through excel sheetwhich is in any format. ⚫Excel sheet only accepts Unicode string (DT_WSTR) but OLE DB sourceordestination both support NON- Unicode String (DT_STR). When we import the data from excel sheet to database then always we have to convertdata through Unicode to non Unicode. ⚫As sameas when weare using Excel Destination then we have toconvert thedata non Unicode to Unicode.
  • 24. Some Important Dataflow Transformation Tools:- ⚫Data Conversion:- it is used toconvertthe data types from one source toanotherdestination. ⚫Data Conversion Editor:-
  • 25. Multicast Operator:- ⚫It is used todistribute thedata from one source to anotherdifferentdestinations.
  • 26. Conditional Split:- ⚫The Conditional Split transformation can route data rows todifferentoutputs depending on thecontent of thedata. The implementation of the Conditional Split transformation is similar to a CASE decision structure in a programming language. The transformation evaluates expressions, and based on the results, directs the data row to the specified output. This transformationalso provides a default output, so that if a row matches no expression it is directed to thedefaultoutput.
  • 27. Derived Column:- ⚫The Derived Column transformationcreates new column values by applying expressions to transformation input columns. An expression can contain any combination of variables, functions, operators, and columns from the transformation input. The result can be added as a new column or inserted into an existing column as a replacement value. The Derived Column transformation can define multiple derived columns, and any variable or inputcolumns can appear in multipleexpressions.
  • 28. Lookup Transformation:- ⚫The Lookup transformation performs lookups by joining data in inputcolumns with columns in a referencedataset. You use the lookup to access additional information in a related table that is based on values in common columns. ⚫The reference dataset can be a cache file, an existing table orview, a new table, or the result of an SQL query . The Lookup transformation uses eitheran OLE DB connection managerora Cacheconnection manager toconnect to the reference dataset. For more information, see OLE DB Connection Managerand Cache Connection Manager ⚫You can configure the Lookup transformation in the following ways:
  • 29. Data upload from Excel to OLE DB Destination:- ⚫Forachieve this goal we have to takeadata f low task from Control Flow task. ⚫Afterthatwe have to take threedata flow tools. ⚫ Excel source :- In data flow task drag and drop excel source and create the connection through excel file as per discussed in above. Once aconnection is established then wecan allow the column which has to be inserted in database. After that Click ok and we have togo next stepwhich is dataconversion ⚫ Data conversion:- if the any varchar column is exists then the column has to converted into DT_STR and we have to link to the OLE DB Destination. ⚫ OLE DB Destination:- Create a Connection to the database and after that select a table in which data has to be inserted Or Click on newand createa new table in which thedata has to be inserted. Afterthat mapping thecolumn.
  • 30.
  • 31. Data Export from Database to different Destination:-