SQL Server 2012 Integration Services Design Patterns

By Andy Leonard , Matt Masson , Tim Mitchell , Jessica Moss , Michelle Ufford

  • eBook Price: $34.99
  • Print Book Price: $49.99
Buy eBook Buy Print Book
SQL Server 2012 Integration Services Design Patterns shows how to solve common problems encountered when developing data integration solutions with SQL Server Integration Services (SSIS).

Full Description

  • Add to Wishlist
  • ISBN13: 978-1-4302-3771-6
  • 456 Pages
  • User Level: Beginner to Advanced
  • Publication Date: September 4, 2012
  • Available eBook Formats: EPUB, MOBI, PDF

Related Titles

  • Pro PowerShell for Database Developers
  • Pro SQL Server Wait Statistics
  • SQL Server T-SQL Recipes
  • Expert Performance Indexing in SQL Server
  • Expert SQL Server in-Memory OLTP
Full Description

SQL Server 2012 Integration Services Design Patterns is a book of recipes for SQL Server Integration Services (SSIS). Design patterns in the book show how to solve common problems encountered when developing data integration solutions. Because you do not have to build the code from scratch each time, using design patterns improves your efficiency as an SSIS developer. In SSIS Design Patterns, we take you through several of these snippets in detail, providing the technical details of the resolution.

SQL Server 2012 Integration Services Design Patterns does not focus on the problems to be solved; instead, the book delves into why particular problems should be solved in certain ways. You'll learn more about SSIS as a result, and you'll learn by practical example. Where appropriate, SQL Server 2012 Integration Services Design Patterns provides examples of alternative patterns and discusses when and where they should be used. Highlights of the book include sections on ETL Instrumentation, SSIS Frameworks, and Dependency Services.

  • Takes you through solutions to several common data integration challenges
  • Demonstrates new features in SQL Server 2012 Integration Services
  • Teaches SSIS using practical examples

What you’ll learn

  • Load data from flat file formats
  • Explore patterns for executing SSIS packages
  • Discover a pattern for loading XML data
  • Migrate SSIS packages through your application lifecycle without editing connections
  • Take advantage of SSIS 2012 Dependency Services
  • Build an SSIS Framework to support your application needs

Who this book is for

SQL Server 2012 Integration Services Design Patterns is for the data integration developer who is ready to take their SQL Server Integration Services (SSIS) skills to a more efficient level. It’s for the developer interested in locating a previously-tested solution quickly. SQL Server 2012 Integration Services Design Patterns is a great book for ETL (extract, transform, and load) specialists and those seeking practical uses for new features in SQL Server 2012 Integration Services. It’s an excellent choice for business intelligence and data warehouse developers.

Table of Contents

Table of Contents

  1. Metadata Collection
  2. Execution Operations
  3. Scripting
  4. SQL Server Source Patterns
  5. Data Cleansing
  6. DB2 Source
  7. Flat File Source Patterns
  8. Parallel Data Warehouse
  9. XML
  10. Expression Language Patterns
  11. Data Warehouse
  12. Logging
  13. Slowly Changing Dimensions
  14. Loading the Cloud
  15. Reporting
  16. Parent-Child Patterns
  17. BIML
  18. Configuration
  19. Deployment
  20. Estimating ETL Projects
  21. Appendix
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.


Please Login to submit errata.

On page 16:
The connection manager "DynamicSQLServerInstance" will not acquire a connection because the connection manager OfflineMode property is TRUE. When the OfflineMode is TRUE, connections cannot be acquired.

On page 413:

Listing A-23 contains an error; please see the author-submitted correction below.
Author Comment:

/* rpt.ReturnPkgInstanceHeader stored procedure */
If Exists(Select s.name + '.' + p.name
From sys.procedures p
Join sys.schemas s
On s.schema_id = p.schema_id
Where s.name = 'rpt'
And p.name = 'ReturnPkgInstanceHeader')
print 'Dropping rpt.ReturnPkgInstanceHeader stored procedure'
Drop Procedure rpt.ReturnPkgInstanceHeader
print 'Rpt.ReturnPkgInstanceHeader stored procedure dropped'
print 'Creating rpt.ReturnPkgInstanceHeader stored procedure'

Create Procedure rpt.ReturnPkgInstanceHeader
@AppInstanceID int

SELECT a.ApplicationName
,p.PackageFolder + p.PackageName As PackagePath
,DateDiff(ss,cp.StartDateTime,Coalesce(cp.EndDateTime,GetDate())) As RunSeconds
FROM log.SSISPkgInstance cp
Join cfg.AppPackages ap
on ap.AppPackageID = cp.AppPackageID
Join cfg.Packages p
on p.PackageID = ap.PackageID
Join log.SSISAppInstance ai
on ai.AppInstanceID = cp.AppInstanceID
Join cfg.Applications a
on a.ApplicationID = ap.ApplicationID
WHERE ai.AppInstanceID = Coalesce(@AppInstanceID,ai.AppInstanceID)
And a.ApplicationID > 0
Order By cp.PkgInstanceID desc
print 'Rpt.ReturnPkgInstanceHeader stored procedure created.'
print ''


    1. Pro SQL Server Wait Statistics


      View Book

    2. SQL Server T-SQL Recipes


      View Book

    3. Pro Vagrant


      View Book

    4. Big Data Made Easy


      View Book