sq l server 2014 customized

53
SQL Server 2014 SSIS and SSRS

Upload: gopala-java

Post on 02-Feb-2016

214 views

Category:

Documents


0 download

DESCRIPTION

dsgfdsg

TRANSCRIPT

Page 1: Sq l Server 2014 Customized

SQL Server 2014SSIS and SSRS

Page 2: Sq l Server 2014 Customized

Sql Server Integration Services• The Big Picture • Control Flow • Data Flow Sources and Destinations • Data Flow Transformations • Making packages dynamic • Containers and Advanced Control Flow Tasks • Package Reliability • Advanced Scripting • Deploying to the SSIS Catalog

Page 3: Sq l Server 2014 Customized

Sql Server Reporting Services• Introduction• SSRS Overview and Tools • Working with Solutions and Projects • Creating Basic Reports • Formatting Reports • Custom Expressions • Summarizing and Sorting • Add Flexibility with Parameters • Enhanced Report Items • Using Report Manager • Using SQL Server 2014 Report Builder

Page 4: Sq l Server 2014 Customized

Module 1:The Big Picture

– Microsoft Business Intelligence Suite– The SSIS Architecture– Import/Export Wizard– Introducing SSDT-BI

Page 5: Sq l Server 2014 Customized

Microsoft Business Intelligence Suite

Page 6: Sq l Server 2014 Customized

SSI Architecture

Page 7: Sq l Server 2014 Customized

Import Export Wizard

Page 8: Sq l Server 2014 Customized

Introducing SSDT-BI

Page 9: Sq l Server 2014 Customized

Lab Activities :Exploring a Data Warehousing Solution

• Exercise 1: Exploring Data Sources• Exercise 2: Exploring an ETL Proces

s• Exercise 3: Exploring a Data Wareho

use

Page 10: Sq l Server 2014 Customized

Module 2 : Control Flow

– Introduction to the Control Flow– Understanding Precedent Constraints– Grouping and Annotating Tasks– Working with Properties– Favorite Tasks– Common Tasks

Page 11: Sq l Server 2014 Customized

Introduction To Control Flow

Page 12: Sq l Server 2014 Customized

Understanding Precedent Constraints

Page 13: Sq l Server 2014 Customized

Grouping and Annotating Tasks

Page 14: Sq l Server 2014 Customized

Favorite Tasks,common tasks• SSIS Toolbox, control flow and data

flow components are organized into categories

• Favorites and Common categories appear in the toolbox when you select the Control Flow, Data Flow, and Event Handlers tabs.

• Other Tasks category appears in the toolbox when you select the Control Flow tab or the Event Handlers tab.

Page 15: Sq l Server 2014 Customized

Module 3: Designing and Implementing a Data Warehouse

Page 16: Sq l Server 2014 Customized

Designing and Implementing a Data Warehouse

Page 17: Sq l Server 2014 Customized

Dimensional Modeling

Page 18: Sq l Server 2014 Customized

Documenting Dimensional Models

Page 19: Sq l Server 2014 Customized

Documenting Dimensional Models

Page 20: Sq l Server 2014 Customized

Considerations for Dimension Keys

Page 21: Sq l Server 2014 Customized

Dimension Attributes and Hierarchies

Page 22: Sq l Server 2014 Customized

Unknown and None

Page 23: Sq l Server 2014 Customized

Designing Slowly Changing Dimensions

Page 24: Sq l Server 2014 Customized

Time Dimension Tables

Page 25: Sq l Server 2014 Customized

Time Dimension Tables

• employee dimension might consist of manager

Page 26: Sq l Server 2014 Customized

Module 4 : Data Flow Sources and Destinations

– Working with Data Sources– Working with Data Destinations

Page 27: Sq l Server 2014 Customized

Working with Data Sources• Demonstration : Working with Data

Sources

Page 28: Sq l Server 2014 Customized

Working with Data Destinations

• Demonstration : Working with Data Destinations

Page 29: Sq l Server 2014 Customized

Lab Activities :Creating an ETL Solution with SSIS

Exercise 1: Exploring Source DataExercise 2: Transferring Data by Using a Data Flow TaskExercise 3: Using Transformations in a Data Flow

Page 30: Sq l Server 2014 Customized

Module 4 : Data Flow Transformations

– Basic Transformations– Blocking Transformations– Advanced Transformations– Managing Incremental Updates

Page 31: Sq l Server 2014 Customized

Basic Transformations

Page 32: Sq l Server 2014 Customized

Blocking Transformations

•  three types of transformations– non-blocking, semi-blocking or fully-blocking

• Synchronous : same buffer as the input– All destination adapters

• Asynchronous : uses a new buffer– All source adapters

Page 33: Sq l Server 2014 Customized

Advanced Transformations

Page 34: Sq l Server 2014 Customized

Managing Incremental Updates

Page 35: Sq l Server 2014 Customized

Module 5 : Making packages dynamic

– Using Variables– Understanding Package Parameters– Understanding Project Parameters– Working with Expressions

Page 36: Sq l Server 2014 Customized

Using Variables

• Variables can be user defined,system defined

• Demonstration : using Variables

Page 37: Sq l Server 2014 Customized

Using package parameters,project parameters

• Demonstration : using Variables,working with expressions

Page 38: Sq l Server 2014 Customized

Lab Activities : Implementing Control Flow in an SSIS Package

• Lab A: Implementing Control Flow in an SSIS Package

Page 39: Sq l Server 2014 Customized

Module 6 : Advanced Control Flow Tasks

– Working with Containers– Adding Custom Control Flow Tasks– The "Other Tasks"– Working with Change Data Capture (CDC)

Page 40: Sq l Server 2014 Customized

Working with Containers

o Containers are objects in SQL Server Integration Services that provide structure to packages and services to tasks

o Foreach Loop Containero Runs a control flow repeatedly by using an

enumerator

o For Loop Containero Runs a control flow repeatedly by testing a

condition.

o Sequence Containero Groups tasks and containers into control flows that

are subsets of the package

o Task Host Containero Provides services to a single task.

Page 41: Sq l Server 2014 Customized

Custom Control Flow Tasks

o Microsoft SQL Server Integration Services  (SSIS) provides powerful Extract-Transform-Load (ETL) and in 99% of the time sufficient for most companies.

o There are however a few situations where out-of-the-box tasks do not provide the functionality needed

o visit you favorite search engine and look for a vendor that has already made it

o Or  write one yourself

Page 42: Sq l Server 2014 Customized

Working with Change Data Capture

o CDC records insert, update, and delete activity that is applied to a SQL Server table.

o  source of change data for CDC is Transaction Logo As inserts, updates, and delete done, entries are

added to logo  log serves as input to the capture process

Page 43: Sq l Server 2014 Customized

Lab Activity : Implementing a Data Extraction Solution

• Exercise 1: Using a Datetime Column to Incrementally Extract Data

• Exercise 2: Using Change Data Capture• Exercise 3: Using the CDC Control Task• Exercise 4: Using Change Tracking

Page 44: Sq l Server 2014 Customized

Module 7 : Package Reliability

– Configuring Logging– Creating Event Handlers– Redirecting Rows– Using Checkpoints– Configuring Transactions

Page 45: Sq l Server 2014 Customized

Configuring Logging• Demonstration : Configuring Logging

Page 46: Sq l Server 2014 Customized

Event Handlers

• Demonstration : – Creating Event Handlers

Page 47: Sq l Server 2014 Customized

Redirecting Rows• configure the component to redirect the

failed row to error output.• Demonstration : Redirecting Failed Rows

Page 48: Sq l Server 2014 Customized

Lab B: Using Transactions and Checkpoints

• Exercise 1: Using Transactions• Exercise 2: Using Checkpoints

Page 49: Sq l Server 2014 Customized

Deploying to the SSIS Catalog

– Introduction to the SSIS Catalog– Creating Environments– Deploying Projects– Backwards Compatibility– Executing Packages in SQL Server

Management Studio (SSMS)– Executing Packages from the Command Line

Page 50: Sq l Server 2014 Customized

SSIS Catalog,Environments• SSISDB catalog is the central point for

working with Integration Services • objects that are stored in

the SSISDB catalog include projects, packages, parameters, environments.

• Packages can be deployed across multiple environment(test,production)

Page 51: Sq l Server 2014 Customized

Deploying Projects

Page 52: Sq l Server 2014 Customized

Executing Packages in SQL Server Management Studio

Page 53: Sq l Server 2014 Customized

Executing Packages from the Command Line