Search icon
Subscription
0
Cart icon
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
SQL Server 2017 Integration Services Cookbook

You're reading from  SQL Server 2017 Integration Services Cookbook

Product type Book
Published in Jun 2017
Publisher Packt
ISBN-13 9781786461827
Pages 558 pages
Edition 1st Edition
Languages
Authors (6):
Christian Cote Christian Cote
Profile icon Christian Cote
Dejan Sarka Dejan Sarka
Profile icon Dejan Sarka
David Peter Hansen David Peter Hansen
Matija Lah Matija Lah
Profile icon Matija Lah
Samuel Lester Samuel Lester
Christo Olivier Christo Olivier
View More author details

Table of Contents (18) Chapters

Title Page
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface
1. SSIS Setup 2. What Is New in SSIS 2016 3. Key Components of a Modern ETL Solution 4. Data Warehouse Loading Techniques 5. Dealing with Data Quality 6. SSIS Performance and Scalability 7. Unleash the Power of SSIS Script Task and Component 8. SSIS and Advanced Analytics 9. On-Premises and Azure Big Data Integration 10. Extending SSIS Custom Tasks and Transformations 11. Scale Out with SSIS 2017

Using the Script component as a source


In this recipe, you will create a custom source by using the Script Component as a data flow source.

You will connect to a web service and retrieve the data from it, which you will then place into the data flow pipeline.

How to do it...

  1. Add a new SSIS package to the AdventureWorksETL project you created at the beginning of this chapter.
  2. Change the name of the newly created package to CustomWebServiceSource.dtsx and save it.
  3. Make sure the CustomWebServiceSource.dtsx package is active, and then create a new package parameter using the following settings:
    • Property: Value
    • Name: CountryName
    • Data type: String
    • Value: France
  4. Drag a Data Flow task to the control flow designer and change its name to Airport Information.
  5. Open the Airport Information task in the data flow designer and drag a Script Component to the data flow designer.
  6. In the Select Script Component Type dialog, select Source, as shown in the following screenshot:

  1. Click on OK to confirm the selection.
  2. Change...
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}