Skip to Content
Professional Microsoft SQL Server 2012 Integration Services
book

Professional Microsoft SQL Server 2012 Integration Services

by Brian Knight, Erik Veerman, Jessica M. Moss, Mike Davis, Chris Rock
March 2012
Intermediate to advanced
960 pages
30h 12m
English
Wrox
Content preview from Professional Microsoft SQL Server 2012 Integration Services

Chapter 9

Scripting in SSIS

WHAT’S IN THIS CHAPTER?

  • Selecting your scripting language and getting started
  • Adding assemblies to SSIS Script objects
  • Understanding Script Task usage
  • Understanding Script Component usage
  • Using external SSIS objects from within a script
  • Using events and logging in debugging scripts

Scripting is the Swiss Army knife of SSIS. As shown in previous chapters, many different SSIS features are available out-of-the-box. If you need to do something that you just can’t find anywhere else, you will find additional functionality in three features: the Script Task, the Script Component, and expressions. Expressions, covered in Chapter 6, are small scripts that set properties. The other two scripting concepts provide access into a scripting development environment using Microsoft Visual Studio Tools for Applications (VSTA) that enables SSIS developers to script logic into packages using Microsoft Visual Basic 2010 or Microsoft Visual C# 2010 .NET code.

In this chapter, you will learn the differences between these script components and when you should use one over the other. You’ll also learn all about the various scripting options available and how to use them in your package development tasks to control execution flow, perform custom transformations, manage variables, and provide runtime feedback.

INTRODUCING SSIS SCRIPTING

If you think of scripting as something that compiles at runtime and contains unstructured or unmanaged coding languages, then scripting in ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Professional Microsoft SQL Server 2014 Integration Services

Professional Microsoft SQL Server 2014 Integration Services

Brian Knight, Devin Knight, Jessica M. Moss, Mike Davis, Chris Rock
Pro SQL Server 2012 Integration Services

Pro SQL Server 2012 Integration Services

Francis Rodrigues, Michael Coles, David Dye
Knight's Microsoft SQL Server 2012 Integration Services 24-Hour Trainer

Knight's Microsoft SQL Server 2012 Integration Services 24-Hour Trainer

Brian Knight, Devin Knight, Mike Davis, Wayne Snyder

Publisher Resources

ISBN: 9781118101124Purchase book