Microsoft SQL Server 2012 Integration Services: An Expert Cookbook

Microsoft SQL Server 2012 Integration Services: An Expert Cookbook
eBook: $26.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 15%!
Print + free eBook + free PacktLib access to the book: $71.98    Print cover: $44.99
save 6%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters

Full of illustrations, diagrams, and tips with clear step-by-step instructions and real time examples Master all transformations in SSIS and their usages with real-world scenarios Learn to make SSIS packages re-startable and robust; and work with transactions Get hold of data cleansing and fuzzy operations in SSIS

Book Details

Language : English
Paperback : 564 pages [ 235mm x 191mm ]
Release Date : May 2012
ISBN : 184968524X
ISBN 13 : 9781849685245
Author(s) : Reza Rad, Pedro Perfeito
Topics and Technologies : All Books, Enterprise Products and Platforms, Cookbooks, Enterprise, Microsoft

Table of Contents

Chapter 1: Getting Started with SQL Server Integration Services
Chapter 2: Control Flow Tasks
Chapter 3: Data Flow Task Part 1—Extract and Load
Chapter 4: Data Flow Task Part 2—Transformations
Chapter 5: Data Flow Task Part 3—Advanced Transformation
Chapter 6: Variables, Expressions, and Dynamism in SSIS
Chapter 7: Containers and Precedence Constraints
Chapter 8: Scripting
Chapter 9: Deployment
Chapter 10: Debugging, Troubleshooting, and Migrating Packages to 2012
Chapter 11: Event Handling and Logging
Chapter 12: Execution
Chapter 13: Restartability and Robustness
Chapter 14: Programming SSIS
Chapter 15: Performance Boost in SSIS
    • Chapter 2: Control Flow Tasks
      • Introduction
      • Executing T-SQL commands: Execute SQL Task
      • Handling file and folder operations: File System Task
      • Sending and receiving files through FTP: FTP Task
      • Executing other packages: Execute Package Task
      • Running external applications: Execute Process Task
      • Reading data from web methods: Web Service Task
      • Transforming, validating, and querying XML: XML Task
      • Profiling table statistics: Data Profiling Task
      • Batch insertion of data into a database: Bulk Insert Task
      • Querying system information: WMI Data Reader Task
      • Querying system events: WMI Event Watcher Task
      • Transferring SQL server objects: DBMS Tasks
      • Chapter 3: Data Flow Task Part 1—Extract and Load
        • Introduction
        • Working with database connections in Data Flow
        • Working with flat files in Data Flow
        • Passing data between packages—Raw Source and Destination
        • Importing XML data with XML Source
        • Loading data into memory—Recordset Destination
        • Extracting and loading Excel data
        • Change Data Capture
        • Chapter 4: Data Flow Task Part 2—Transformations
          • Introduction
          • Derived Column: adding calculated columns
          • Audit Transformation: logging in Data Flow
          • Aggregate Transform: aggregating the data stream
          • Conditional Split: dividing the data stream based on conditions
          • Lookup Transform: performing the Upsert scenario
          • OLE DB Command: executing SQL statements on each row in the data stream
          • Merge and Union All transformations: combining input data rows
          • Merge Join Transform: performing different types of joins in data flow
          • Multicast: creating copies of the data stream
          • Working with BLOB fields: Export Column and Import Column transformations
          • Slowly Changing Dimensions (SCDs) in SSIS
              • Chapter 7: Containers and Precedence Constraints
                • Introduction
                • Sequence Container: putting all tasks in an executable object
                • For Loop Container: looping through static enumerator till a condition is met
                • Foreach Loop Container: looping through result set of a database query
                • Foreach Loop Container: looping through files using File Enumerator
                • Foreach Loop Container: looping through data table
                • Precedence Constraints: how to control the flow of task execution
                • Chapter 8: Scripting
                  • Introduction
                  • The Script Task: Scripting through Control Flow
                  • The Script Component as a Transformation
                  • The Script Component as a Source
                  • The Script Component as a Destination
                  • The Asynchronous Script Component
                  • Chapter 9: Deployment
                    • Introduction
                    • Project Deployment Model: Project Deployment from SSDT
                    • Using Integration Services Deployment Wizard and command-line utility for deployment
                    • The Package Deployment Model, Using SSDT to deploy package
                    • Creating and running Deployment Utility
                    • DTUTIL—the command-line utility for deployment
                    • Protection level: Securing sensitive data
                        • Chapter 12: Execution
                          • Introduction
                          • Execution from SSMS
                          • Execution from a command-line utility
                          • Execution from a scheduled SQL Server Agent job
                          • Chapter 13: Restartability and Robustness
                            • Introduction
                            • Parameters: Passing values to packages from outside
                            • Package configuration: Legacy method to inter-relation
                            • Transactions: Doing multiple operations atomic
                            • Checkpoints: The power of restartability
                            • SSIS reports and catalog views
                            • Chapter 14: Programming SSIS
                              • Introduction
                              • Creating and configuring Control Flow Tasks programmatically
                              • Working with Data Flow components programmatically
                              • Executing and managing packages programmatically
                              • Creating and using Custom Tasks
                              • Chapter 15: Performance Boost in SSIS
                                • Introduction
                                • Control Flow Task and variables considerations for boosting performance
                                • Data Flow best practices in Extract and Load
                                • Data Flow best practices in Transformations
                                • Working with buffer size
                                • Working with performance counters

                                Reza Rad

                                Reza Rad has more than 10 years of experience in databases and soft ware applications. Most of his work experience is in data warehousing and business intelligence. He has worked with Microsoft technologies from SQL Server 7 and Visual Basic 6 to the latest versions of SQL Server and .NET. He has a Bachelor's degree in Computer Engineering.

                                Reza is a DW/BI architect and consultant. He has worked with large enterprises around the world and delivered high-quality data warehousing and BI solutions for them. He has worked with industries in different sectors, such as Health, Finance, Logistics, Sales, Order Management, Manufacturing, Telecommunication, and so on.

                                Reza has been awarded the Microsoft Most Valuable Professional in SQL Server from 2011 to 2014. He is an international speaker in SQL Server, BI, and DW conferences around the world. He speaks in SQL PASS Summits, Microsoft TechEd, SQL Saturdays, SQL Server user groups, and code camps.

                                Reza has written books on SQL Server and databases. One of his most recent books is SQL Server 2012 Integration Services: An Expert Cookbook, Packt Publishing.

                                Reza is a big fan of data-related technologies, his expertise is in EIM, ETL, Data governance, big data, data warehousing, BI, data visualizati on, Master Data Management, OLAP, and so on. He is the author of Webcast series on the RADACAD website ( He writes articles and blog posts on his technical blog (; he writes about most of the Microsoft technologies, such as SSIS, MDS, DQS, SSAS, Power BI, HDInsight, and so on. His blog contains the latest information on his presentations and publications.

                                Reza is a Mentor and a Microsoft Certified Trainer. He has been in the professional training business for many years. He conducts extensive 400 handed-level training for many enterprises around the world via both remote and in-person training. He is an active member of MSDN forums, especially those on SQL Server and Power BI. He is also the leader of the New Zealand Data Warehousing and Business Intelligence user group, which is a registered chapter of PASS.

                                Pedro Perfeito

                                Pedro was born in 1977 in Portugal and currently works as BI Senior Consultant and Developer at Novabase. He’s also an invited teacher in master and postgraduate BI degrees, by IUL-ISCTE (Lisbon) and by Universidade Portucalense (UPT-Porto) respectively. He received in 2010 and 2011 the Microsoft award “Microsoft Most Valuable Professional” (MVP) for all his dedication and contribution helping theoretical and practical issues in the various BI communities and he’s also co-author of the SQL MVP Deep Dives book – 2Edition. He has several Microsoft certifications including MCP, MCSD, MCTS-Web, MCTS-BI and MCITP-BI and also worldwide certifications in the area of BI provided by TDWI/CBIP (The Data Warehouse Institute – He’s currently preparing his PhD degree on BI. For further details you can also visit his personal blog at or even contact him directly at

                                Richard Toft: An excellent go to resource for the new BIDS Developer or experienced Bids Developer / DBA looking to explore new features or improve current package performance this book has something for you.

                                Code Downloads

                                Download the code and support files for this book.

                                Submit Errata

                                Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.


                                - 2 submitted: last submission 31 May 2014

                                Errata type: Typo | Page number: 77 | Errata date: 04 June 2013 Under Getting Ready, Step 2 tells us to open BIDS when it should be to open SSDT.  

                                Errata type: code | page number: 26

                                MsgBox (Dts.Variables(0).Value, MsgBoxStyle.Information)

                                Should be:

                                MsgBox(Dts.Variables("User::RowCount").Value, MsgBoxStyle.Information)

                                Sample chapters

                                You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                                Frequently bought together

                                Microsoft SQL Server 2012 Integration Services: An Expert Cookbook +    Clojure for Domain-specific Languages =
                                50% Off
                                the second eBook
                                Price for both: $41.55

                                Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                                What you will learn from this book

                                Step-by-step instructions to create Data Flow; and working with different sources and destinations Focus on some best practices for raising the performance of packages and data flow Get to grips with all the control flow tasks with real world examples Understand Containers and Loop structures in SSIS Explore all the aspects of event handlers in SSIS Gain knowledge to debug, troubleshoot, and migrate packages Master the different ways to deploy and execute packages

                                In Detail

                                SQL Server Integration Services (SSIS) is a leading tool in the data warehouse industry - used for performing extraction, transformation, and load operations. This book is aligned with the most common methodology associated with SSIS known as Extract Transform and Load (ETL); ETL is responsible for the extraction of data from several sources, their cleansing, customization, and loading into a central repository normally called Data Warehouse or Data Mart.Microsoft SQL Server 2012 Integration Services: An Expert Cookbook covers all the aspects of SSIS 2012 with lots of real-world scenarios to help readers understand usages of SSIS in every environment. Written by two SQL Server MVPs who have in-depth knowledge of SSIS having worked with it for many years.This book starts by creating simple data transfer packages with wizards and illustrates how to create more complex data transfer packages, troubleshoot packages, make robust SSIS packages, and how to boost the performance of data consolidation with SSIS. It then covers data flow transformations and advanced transformations for data cleansing, fuzzy and term extraction in detail. The book then dives deep into making a dynamic package with the help of expressions and variables, and performance tuning and consideration.


                                This book is written in a simple, easy to understand format with lots of screenshots and step-by-step explanations.

                                Who this book is for

                                If you are an SQL database administrator or developer looking to explore all the aspects of SSIS and need to use SSIS in the data transfer parts of systems, then this is the best guide for you. Basic understanding of working with SQL Server Integration Services is required.

                                Code Download and Errata
                                Packt Anytime, Anywhere
                                Register Books
                                Print Upgrades
                                eBook Downloads
                                Video Support
                                Contact Us
                                Awards Voting Nominations Previous Winners
                                Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                                Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software