Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
SQL Server 2017 Integration Services Cookbook

You're reading from   SQL Server 2017 Integration Services Cookbook Powerful ETL techniques to load and transform data from almost any source

Arrow left icon
Product type Paperback
Published in Jun 2017
Publisher Packt
ISBN-13 9781786461827
Length 558 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (6):
Arrow left icon
Matija Lah Matija Lah
Author Profile Icon Matija Lah
Matija Lah
Christo Olivier Christo Olivier
Author Profile Icon Christo Olivier
Christo Olivier
Christian Cote Christian Cote
Author Profile Icon Christian Cote
Christian Cote
Dejan Sarka Dejan Sarka
Author Profile Icon Dejan Sarka
Dejan Sarka
David Peter Hansen David Peter Hansen
Author Profile Icon David Peter Hansen
David Peter Hansen
Samuel Lester Samuel Lester
Author Profile Icon Samuel Lester
Samuel Lester
+2 more Show less
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. SSIS Setup FREE CHAPTER 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

Copying data to an on-premises cluster


In this recipe, we'll add a package that will copy local data to the local cluster.

Getting ready

This recipe assumes that you have access to an on-premises cluster and have created a folder to hold the files in it from the previous recipe.

How to do it...

  1. In the solution explorer, open (expand) the ETL.DW project and right-click on it to add a new package. Name it FactOrdersToHDPCuster.dtsx.
  1. Go to the Parameters tab and add a new parameter:
    • Name: LoadExecutionId
    • Data type: Int64
    • Value: Leave the default value 0
    • Sensitive: Leave the default value False
    • Required: True
  1. Add a data flow task on the control flow and name it dft_FactOrders.
  2. In the data flow task, drag and drop an OLE DB source. Name it ole_src_DW_vwFactOrders.
  3. Double-click on it to open the OLE DB source editor.
  4. Set the OLE DB connection manager to cmgr_DW.
  5. For data access mode, use the SQL command.
  6. Set the SQL command text to the following:
SELECT        OrderDate, FirstName, LastName, CompanyName, Category...
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 €18.99/month. Cancel anytime