Free Sample
+ Collection

Microsoft SQL Server 2012 Integration Services: An Expert Cookbook

Reza Rad, Pedro Perfeito

Over 80 expert recipes to design, create, and deploy SSIS packages with this book and ebook
RRP $26.99
RRP $44.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781849685245
Paperback564 pages

About This Book

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

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.

Table of Contents

Chapter 1: Getting Started with SQL Server Integration Services
Import and Export Wizard: First experience with SSIS
Getting started with SSDT
Creating the first SSIS Package
Getting familiar with Data Flow Task
SSIS 2012 versus previous versions in Developer Experience
Chapter 2: Control Flow Tasks
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
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
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
There's more...
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 5: Data Flow Task Part 3—Advanced Transformation
Pivot and Unpivot Transformations
Text Analysis with Term Lookup and Term Extraction transformations
DQS Cleansing Transformation—Cleansing Data
Fuzzy Transformations—how SSIS understands fuzzy similarities
Chapter 6: Variables, Expressions, and Dynamism in SSIS
Variables and data types
Using expressions in Control Flow
Using expressions in Data Flow
The Expression Task
Dynamic connection managers
Dynamic data transfer with different data structures
Chapter 7: Containers and Precedence Constraints
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
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
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 10: Debugging, Troubleshooting, and Migrating Packages to 2012
Troubleshooting with Progress and Execution Results tab
Breakpoints, Debugging the Control Flow
Handling errors in Data Flow
Migrating packages to 2012
Data Tap
Chapter 11: Event Handling and Logging
Logging over Legacy Deployment Model
Logging over Project Deployment Model
Using event handlers and system variables for custom logging
Chapter 12: Execution
Execution from SSMS
Execution from a command-line utility
Execution from a scheduled SQL Server Agent job
Chapter 13: Restartability and Robustness
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
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
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

What You Will Learn

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.


Read More