Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering SQL Server 2017

You're reading from  Mastering SQL Server 2017

Product type Book
Published in Aug 2019
Publisher Packt
ISBN-13 9781838983208
Pages pages
Edition 1st Edition
Languages
Concepts
Authors (5):
Miloš Radivojević Miloš Radivojević
Profile icon Miloš Radivojević
Dejan Sarka Dejan Sarka
Profile icon Dejan Sarka
William Durkin William Durkin
Profile icon William Durkin
Christian Cote Christian Cote
Profile icon Christian Cote
Matija Lah Matija Lah
Profile icon Matija Lah
View More author details
Toc

Table of Contents (20) Chapters close

Title Page
Copyright Contributors About Packt Preface 1. Introduction to SQL Server 2017 2. SQL Server Tools 3. JSON Support in SQL Server 4. Stretch Database 5. Temporal Tables 6. Columnstore Indexes 7. SSIS Setup 8. What Is New in SSIS 2016 9. Key Components of a Modern ETL Solution 10. Dealing with Data Quality 11. Unleash the Power of SSIS Script Task and Component 12. On-Premises and Azure Big Data Integration 13. Extending SSIS Custom Tasks and Transformations 14. Scale Out with SSIS 2017 1. Other Books You May Enjoy

Using variables in SSIS Script task

The objective of this task is to teach you how to work with SSIS variables in a Script task. You will learn two ways, a more complex one and a simpler one. You will typically use the latter in your packages.

Getting ready

There are no special prerequisites for this recipe, except, of course, SSIS 2016. In addition, you can use either your own text files for testing, or the three text files provided with the code for this chapter (Ch11_03.txt, Ch11_08.txt, and Ch11_10.txt).

For your convenience, the VB and C# code snippets needed for this chapter are provided in the Chapter11.txt file.

How to do it...

...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}