SSIS Parameters vs. Configurations

Slides:



Advertisements
Similar presentations
TOP NEW SSIS 2012 FEATURES Miguel Cebollero
Advertisements

Introduction to ETL Using Microsoft Tools By Dr. Gabriel.
1 SQL Server 2005 Security An Approach For Group Level Management of Jobs and Packages In a SQL Server 2005 Shared Environment for Application Developers.
Overcoming SSIS Deployment and Configuration Challenges Erik Veerman Mentor, Solid Quality Mentors SQL Server MVP.
Agenda Model migration vs MDS upgrade Model migration overview Model migration – how does it work? Model package Demo.
AGENDA Tools used in SQL Server 2000 Graphical BOL Enterprise Manager Service Manager CLI Query Analyzer OSQL BCP.
COMMANDLINE OPTIONS IN SSIS -ABHIJIT -SANJAY -SUSHANT.
Today’s Agenda Chapter 12 Admin Tasks Chapter 13 Automating Admin Tasks.
Working with Data Types February 7, 2015 John Deardurff Website:
SQL Server Integration Services (SSIS) Presented by Tarek Ghazali IT Technical Specialist Microsoft SQL Server (MVP) Microsoft Certified Technology Specialist.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. ACCESS 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 4 – Creating New.
Insert Presentation Title Heremm.dd.yy, City, ST SQL Reporting Services – Building the Report Kevin Ford Services Consaultant Accela, Inc.
Microsoft SQL Server 2012 Integration Services (SSIS)
INSERT BOOK COVER 1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Access 2010 by Robert Grauer, Keith.
 Nate Locklin ◦ Database Analyst, PPG Industries ◦  Steve Tirone ◦ Data Warehouse Analyst, Amerinet ◦
DTS Conversion to SSIS Conversion Best Practices Mike Davis
Learningcomputer.com SQL Server 2008 – Administration, Maintenance and Job Automation.
DAT 360: DTS in SQL Server 2000 Best Practices Euan Garden Group Manager, SQL Server Microsoft Corporation.
SQL Server 2005 Implementation and Maintenance Chapter 3: Tables and Views.
ADAPTING YOUR ETL SOLUTION TO USE SSIS 2012 Presentation by Devin Knight
All information's of PLINQO in this Document, I got it from: So, you could visit the link above to research.
Building Data Integration Solutions with Integration Services Donald Farmer Group Program Manager Microsoft Corporation.
02 | Data Flow – Extract Data Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons Great.
Workflow in Microsoft Office SharePoint Server Jessica Gruber Consultant Microsoft Corporation.
Log Shipping, Mirroring, Replication and Clustering Which should I use? That depends on a few questions we must ask the user. We will go over these questions.
Jemini Joseph. About me Working in Microsoft BI field since Mostly consulting in SSIS Worked as programmer in Visual Basic before moving to BI
SSIS 2014: Project Deployment & Configuration using SSIS Catalog Amir Charania Co-founder & Principal Consultant Tegnosis, LLC |
Cool Tricks to Pull from Your SSIS Hat Julie Smith.
SSIS 2012: The Quiet Revolution Presented by Bryan Cafferky Business Intelligence Consultant BPC Global Solutions LLC
What is your Character Data Type? March 5, 2016 John Deardurff Website:
Interstage BPM v11.2 1Copyright © 2010 FUJITSU LIMITED ADMINISTRATION.
Microsoft BI Online Training AcuteSoft: India: , Land Line: +91 (0) USA: , UK.
SSIS Templates, Configurations & Variables
Managing, Storing, and Executing DTS Packages
Presented By: Jessica M. Moss
What Is The SSIS Catalog and Why Do I Care?
Explore the Integration Services Catalog
Creating Oracle Business Intelligence Interactive Dashboards
Agile Analytics: Automated Builds and Deployments
Module 2: Creating Data Types and Tables
SSIS Project Deployment: The T-SQL Way
Deploying and Configuring SSIS Packages
Spam Database Tool Use The purpose of this Tool is to Store all SPAM Numbers in Database for matching and excluding from CDRs. Note All files will be stored.
Searching Business Data with MOSS 2007 Enterprise Search
Solving ETL Bottlenecks with SSIS Scale Out
Populating a Data Warehouse
Populating a Data Warehouse
Populating a Data Warehouse
What is your Character Data Type?
Building ETL/ELT Workloads with Azure Data Factory V2
SQL Saturday #654 - Omaha.
Working with Data Types
SSIS Project Deployment: The T-SQL Way
Populating a Data Warehouse
بسم الله الرحمان الرحیم
Populating a Data Warehouse
SQL Saturday #662 - Sioux Falls, SD Hosted by (605) SQL
Populating a Data Warehouse
SSIS Deployment Smackdown!
SSIS Deployment Smackdown!
From DTS to SSIS, Redesign or Upgrade
SSIS Project Deployment: The T-SQL Way
Building ETL/ELT Workloads with Azure Data Factory V2
敦群數位科技有限公司(vanGene Digital Inc.) 游家德(Jade Yu.)
SSIS Project Deployment: The T-SQL Way
SSIS Data Integration Data Warehouse Acceleration
SSIS Data Integration Data Warehouse Acceleration
A Reluctant User’s Guide
SSIS - Overview John Manguno. SSIS - Overview John Manguno.
SSIS Data Integration Data Warehouse Acceleration
Presentation transcript:

SSIS Parameters vs. Configurations New tricks in 2012!

Allen Smith Sr. Business Intelligence Consultant Cognitive Information, Inc. Specialize in BI and Data Warehousing since ‘99 Healthcare Insurance Energy industries Email: asmith@cognitiveinfo.com 2 | 11/12/201811/12/2018 | Footer Goes Here Twitter: @CognitiveBI

SSIS Parameters vs. Configurations SQL 2008 R2 Configurations Static Basic SQL table Dynamic SQL 2012 Parameters Project Level Package Level Catalogs show of hands, using 2008? using 2012? Using both? Still on 2005???

Configurations in SSIS 2008 R2 Package Configurations Static Configurations – entering property values Dynamic Configurations XML files Database lookup Environment Variables Combinations Example: Environment Variables point to Database Server Database stores other variables

Static Properties

Configuration Wizard to SQL Table SSIS Menu ‘Package Configurations’ Wizard will create connection and table Select Properties to export to SQL

Package Configuration Wizard Allows you to write to a table any property for: The Package Any Connection Any Containers Any Variables Any Task ‘ConfiguredValueType’ Must match Type ‘ConfiguredValue’ Stores value ‘PackagePath’ locates property

Demo 2008R2 1. Static 2. SQL Configuration

2008R2 Dynamic Configuration Operating System OS Loads two (2) Environmental Variables: SSIS_Config_Server_Name SSIS_Root_DIR SSIS Package Loads OS Variables into Package locations Load order is important. SSIS Connection SSIS Loads Server Name Variable into a ‘Connection Manager’ SSIS Loads Properties Database table used to load values into properties. PackagePath locates property

2008R2 Dynamic Configuration Operating System OS Loads two (2) Environmental Variables: SSIS_Config_Server_Name SSIS_Root_DIR SSIS Package Loads OS Variables into Package locations Load order is important. SSIS Connection SSIS Loads Server Name Variable into a ‘Connection Manager’ SSIS Loads Variables SSIS Loads Properties Database table used to load values into properties. PackagePath locates property SKIP

2008R2 Dynamic Configuration Operating System OS Loads two (2) Environmental Variables: SSIS_Config_Server_Name SSIS_Root_DIR SSIS Package Loads OS Variables into Package locations Load order is important. SSIS Connection SSIS Loads Server Name Variable into a ‘Connection Manager’ SSIS Loads Variables SSIS Loads Properties Database table used to load values into properties. PackagePath locates property SKIP

2008R2 Dynamic Configuration Order Matters! Operating System OS Loads two (2) Environmental Variables: SSIS_Config_Server_Name SSIS_Root_DIR SSIS Package Loads OS Variables into Package locations Load order is important. SSIS Connection SSIS Loads Server Name Variable into a ‘Connection Manager’ SSIS Loads Variables SSIS Loads Properties Database table used to load values into properties. PackagePath locates property This does not cover runtime order. For that, see BOL

Static or Dynamic? (2008R2) Get BIDSHelper! http://bidshelper.codeplex.com Static SQL Config Dynamic SQL Static Values will be over written by configuration!

Demo 2008R2 3. Environment Variable Loads SQL Configuration

SQL2008 R2 Summary Configurations Order Matters Allow flexible deployment Can be static or dynamic Still supported in SQL 2012 Order Matters Top configuration applied first Get BIDS Helper to quickly identify dynamic connections.

New in SSIS 2012 Deployment Options Server Management Environments SSISDB Catalog Development Environment Enhancements Parameters Performance Improvements http://msdn.microsoft.com/en-us/library/bb522534.aspx

Deployment Choices… Project Deployment Model Package Deployment Project deployed as a unit Packages deployed separately Parameters are used to assign values to package properties. Use Configurations Deployed to the SSISDB Copied to file system or saved to MSDB Parameters are managed with SQL: set_execution_parameter_value Configurations are updated in SQL table. Project Parameters NOT called during execution. FAIL! http://msdn.microsoft.com/en-us/library/hh213290.aspx

Parameter Types in SQL 2012? Project Parameters Available to all Packages in the Project If Parameter = ‘Gaudy’ Package Parameters Available only to objects in the Package If Parameter = ‘Orange’

Add Project Parameter Add Project Parameters Names are Case SenSiTiVe Be careful of Data Types

Data Type Confusion SSIS Data Type SSIS Variables SQL Server Data Type .NET Managed Type DT_WSTR String nvarchar, nchar, Sql_variant, xml System.String DT_DBTIMESTAMP DateTime Smalldatetime, datetime System.DateTime DT_DBTIME2 Time System.TimeSpan DT_NUMERIC Decimal Numeric, decimal System.Decimal DT_GUID Uniqueidentifier System.Guid DT_BOOL Boolean bit System.boolean DT_I2 Int16 Smallint System.Int16 SSIS will default to Unicode data types Sample list only. For full list see: http://msdn.microsoft.com/en-us/library/ms141036.aspx http://msdn.microsoft.com/en-us/library/cc716729.aspx

Create Parameter

Create Parameter Settings Parameterize box can: Apply existing parameters Create new parameter Package scope Project scope Sensitive = encrypt

Static or Dynamic? (2012) Expression Adorner New in 2012 Shows that the property is dynamic Still recommend BIDSHelper…

Demo 2012 Static package Package Parameters Project Parameters Both Package and Project Parameters

Catalogs, not just for Christmas SSIS Catalog Must be created Manage and query with T-SQL Projects Project versioning Packages Parameters can be encrypted Environments Objects secured in folders

Edit Parameters in Catalog

Catalog Edit Parameter with T-SQL DECLARE @var sql_variant = N'C:\SSIS_DEV\FolderC\GoodBoysAndGirls.txt' EXEC [SSISDB].[catalog].[set_object_parameter_value] @object_type=30, @parameter_name=N'DestinationFile_ConnectionString’ ,@object_name=N'SantasList 3 - Project Parameter.dtsx’ , @folder_name=N'OKCSQL-Demo’ , @project_name=N'2012Parameters’ , @value_type=V , @parameter_value=@var GO

Catalog Environments, Variables & Projects Create Environments Dev, Test, Prod, etc. Create Variables in each Environment Configure Project References to Environments Configure Project Parameter to use Environment Variable

Calling Catalog with Agent Agent Can Use default Parameters Manually set Parameters Use Environment to set all or some Parameters

Demo 2012 Catalogs Environments

SSIS Parameter Summary Parameters vs. Configurations Depends on Version Depends on deployment decisions Parameter Type depends on deployment Be careful about data types! SSIS Catalog in 2012 is very useful and powerful

Questions??? Please fill out evaluations so I can continue to improve my sessions. This session will be at SQL Saturday #191, KC, MO http://sqlsaturday.com/191

References BIDSHelper http://bidshelper.codeplex.com/ Professional Microsoft SQL Server 2012 Integration Services by Brian Knight, Erik Veerman, Jessica M. Moss, Mike Davis, Chris Rock 2008R2 – Defining a Configuration Approach http://msdn.microsoft.com/en-us/library/cc671625.aspx 2012 SSIS Parameter Basics http://msdn.microsoft.com/en-us/library/hh213214.aspx 2012 SSIS Catalog http://msdn.microsoft.com/en-us/library/hh479588.aspx