+ All Categories
Home > Technology > Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Date post: 08-Apr-2017
Category:
Upload: alphorm
View: 1,394 times
Download: 47 times
Share this document with a friend
203
Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™© Site : http://www.alphorm.com Blog : http://www.alphorm.com/blog Formatoion SQL Server Integration Services (SSIS) 2016 Noureddine DRISSI Expert consultant bases de données
Transcript
Page 1: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blog

FormatoionSQL Server Integration

Services (SSIS) 2016

Noureddine DRISSI Expert consultant bases de données

Page 2: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Plan• Présentation du formateur

• Mes formations sur Alphorm

• Connaissances préalables

• A propos de ce cours (objectifs)

• Publics concernés

• Plan du cours

• Les autres formations à suivre

Page 3: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Le formateur

• Noureddine DRISSI

• Expertise dans le domaine des bases de données

• 16 années d’expérience sur tous les SGBD du marché (SQL Server, BI, Mysql, Oracle, Postgresql, DB2, MongoDB, Apache Cassandra, CouchBase)

• Issue de l’environnement bancaire

[email protected]

• Mon profil sur Alphorm : http://www.alphorm.com/auteur/noureddine-drissi

Page 4: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Mes formations sur alphorm.com

MySQL, Administration (1Z0-883)

MongoDB, administration

Oracle Database 11g DBA 1 (1Z0-052)

Administration SQL Server 2012 (70-462)

Le langage SQL

Administration PostgreSQLPostgreSQL,

la haute disponibilité

Le langage PL/SQL

Page 5: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Connaissances préalables

• Connaissances en administration de SQL Server

• Connaissances en base de données relationnelle

• Avoir suivi le cours administration SQL Server 2012

• http://www.alphorm.com/formation/formation-administration-sql-server-2012-70-462

Administration SQL Server 2012 (70-462)

Page 6: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

A propos de ce cours

• Objectifs :

• Comprendre les principes fondamentaux de la Business Intelligence;

• Comprendre et utiliser le composant SSIS de la suite Microsoft SQL Server 2016;

• Mettre en œuvre les outils et fonctionnalités de la technologie SSIS;

• Maîtriser, administrer et configurer SSIS.

Page 7: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Publics concernés

• Chef de projet BI, développeurs et analyste, architectes et toute personnes souhaitant apprendre à mettre en œuvre les techniques de l’informatique décisionnelle ou de BI (Business Intelligence) avec les outils de la suite Microsoft (SSIS, SSAS, SSRS).

Page 8: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Plan du cours• Module 01 : Présentation de la

formation

• Module 02 : Introduction à la Business Intelligence

• Module 03 : Introduction à SSIS 2016

• Module 04 : Travailler avec SSIS

• Module 05 : Travailler avec les flux de contrôle

• Module 06 : Travailler avec les flux de données

• Module 07 : Travailler avec les packages dynamiques

• Module 08 : ETL cas d'usage

• Module 09 : Travailler avec les conteneurs

• Module 10 : Configuration des packages

• Module 11 : Résolution de problèmes

• Module 12 : Administrer SSIS 2016

• Module 13 : Chargement d’un entrepôt de donnée

• Module 14 : Conclusion

Page 9: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Les formations à suivre après SSIS

SQL Server Analysis Services

SQL Server Reporting Services

Le language MDX

Page 10: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Ce qu’on a couvert• Présentation de la formation

Page 11: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

GO

Page 12: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blog

L’environnement

Noureddine DRISSI Expert consultant bases de données

Page 13: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Objectifs

• Configurer l’environnement de travail

• Vérifier et configurer les pré-requis (système, matériel, logiciel)

• Installer le SGBDR SQL Server 2016 CTP 3.2

• Installer SSIS (SQL Server Integration Services)

• Installer SQL Server Management Studio

• Se connecter au moteur de base de données SQL Server

• Création de la base de données fact (script fact.sql)

• Se connecter au moteur SSIS

• Installer SSDT (SQL Server Data Tools)

Page 14: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Les prérequis matériel• Mémoire

• Minimum :

• Éditions SQL Server 2016 CTP 3.2 : 2024 MO

• Processeur• Minimum :

• Processeur x86 : 1,0 GHz, Processeur x64 : 1,4 GHz

• Recommandé : 2,0 GHz ou plus

• Disque• Minimum :

• 30 GB disponible

Page 15: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Les prérequis logiciel

• OS

• Windows Server 2012 DataCenter ;

• .NET Framework 3.5.

• Les logiciels

• SQL Server 2016 CTP 3.2;

• SQL Server Management Studio;

• SSIS (SQL Server Integration Services);

• SSDT (SQL Server Data Tools).

Page 16: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Ce qu’il faut télécharger• SQL Server 2016 Community Technology Preview 3.2

• https://www.microsoft.com/fr-fr/evalcenter/evaluate-sql-server-2016

• SQL Server Data Tools - Business Intelligence for Visual Studio 2015

• https://msdn.microsoft.com/fr-fr/mt186501

Page 17: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Architecture de l’environnement

MSSQL01IP: 192.168.1.101

OS: Windows Server 2012C:\ (30 GB)

Rôle: serveur source OLTP

Réseau privé

MSSQL02IP: 192.168.1.102

OS: Windows Server 2012C:\ (30 GB)

Rôle: serveur ETL (SSIS+DQS)

MSSQL03IP: 192.168.1.103

OS: Windows Server 2012C:\ (30 GB)

Rôle: serveur cible DW (entrepôt)

- Moteur SQL SERVER 2016 CTP 3.2

- SSIS (SQL Server Integration Services)

- SSMS (SQL Server Management Studio)

- SSDT (SQL Server Data Tools)

- SSIS (SQL Server Integration Services)

- SSMS (SQL Server Management Studio)

- SSDT (SQL Server Data Tools)

- Moteur SQL SERVER 2016 CTP 3.2

- SSMS (SQL Server Management Studio)

Logiciels à installer

Logiciels à installer

gateway:192.168.1.1

Page 18: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Atelier: mise en place de l’environnement

Page 19: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Ce qu’on a couvert

• Identification et installation des pré-requis

• Système, matériel et logiciel

• Installation des composants Microsoft

• MSSQL Server, SSIS, SSMS et SSDT

• Création de la base de données de travail fact

• Vérification de l’environnement

• MSSQL Server, SSIS, SSMS et SSDT

Page 20: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blog

Introduction à la Business Intelligence

Noureddine DRISSI Expert consultant bases de données

Page 21: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Objectifs

• Présenter les différents composants et terminologie d’une architecture de BI

• Comprendre les raisons de la mise en place d’une solution de BI

• Comprendre la fonctionnalité de SSIS dans une architecture de BI

Page 22: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Pourquoi la Business Intelligence ?• Les systèmes transactionnels ne sont pas adaptés

• Répondre aux questions des décideurs

• Comprendre et analyser les données stockées

• Centralisation et normalisation des données

• Source unique d’information pour les décideurs

• Disposer de données déjà consolidées pour prendre des décisions

• Mesurer le résultat d’une activité ou d’une prise de décision

• Mettre à disposition des utilisateurs finaux des données facilement exploitables

Page 23: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Les composants de la Business Intelligence • SGBDR

• OLTP (OnLine Transaction Processing)

• LMD (INSERT, UPDATE, DELETE)

• OLAP ( Online Analytical Processing)

• SELECT, Language MDX, FONCTIONS ANALYTIQUES, CUBES, TABLEAUX

SSIS SSAS SSRS

Page 24: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Architecture de Business Intelligence

SGBDR OLTP

ETL

Back-End

Transactions LMD

Transactions LMD DW: Data Warehouse

Entrepôt de données DW: Data WarehouseEntrepôt de données

Données consolidées normalisées/dénormalisées

Données consolidées normalisées/dénormalisées

Front-End

SSISSSIS

Production

Clients SGBDR OLAP

Rapports SSRSRapports SSRS

Utilisateurs finauxUtilisateurs finaux

SGBDR OLTP

SGBDR OLTP

Cube multidimensionnel SSASCube multidimensionnel SSAS

1011000110

SQL Server Data Quality Services

Microsoft PowerPivot

Microsoft Excel• Data Mining Add-In• PowerPivot Add-In• MDS Add-In

Page 25: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Ce qu’on a couvert

• Une introduction à la Business Intelligence

Page 26: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blog

Présentation et architecture SSIS

Introduction à SSIS 2016

Noureddine DRISSI Expert consultant bases de données

Page 27: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Objectifs

• Décrire les principales fonctionnalités de SSIS

• Présenter les principaux outils SSIS

Page 28: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

• Réplication

• Utilitaire bcp

• Transact-SQL

• Assistant import/export de données

• Microsoft SQL Server Integration Services

Les outils de conception d’un ETL

Page 29: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Qu’est-ce que SSIS ?

• Transfert et transformation des données

• SSIS contient un moteur de flux de données chargé de transférer et de transformer vers ou depuis diverses sources de données

• Outils et assistants

• SSIS intègre des assistants et des outils graphiques avec lesquels vous pouvez créer un système d’extraction, de transformation et de chargement

Page 30: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Fonctions SSIS• Extraction de données à partir de la source

• BDD, Excel, Fichier plat, Access

• Transformation des données

• format des données, agrégation, validation,…

• Chargement des données vers une destination

• BDD, Excel, Fichier plat, Access

Source

Transformation

Source

Transformation

Cible Cible

Page 31: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Terminologie SSIS

• Les packages• unités de travail à exécuter

• Les tâches• se chargent du travail dans les packages

• Les conteneurs• objets qui fournissent la structure des packages

Tâche 1

Tâche 2

Tâche 3

Tâche 4

Page 32: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Fonctionnement de SSIS

• Flux de contrôle• Conteneurs

• Tâches

• Contraintes de précédences

• Flux de données• Sources

• Transformations

• Destinations

Tâche 1

Tâche 2

Source 1

Transformation 1

Cible 1

Page 33: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Architecture SSIS

Page 34: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Les outils SSIS• Assistants

• Assistant d’import export SSIS

• Assistant de migration des packages

• Assistant d’exécution de package

• Assistant de déploiement de projet SSIS

• Concepteur SSDT (SQL Server Data Tools)

• Utilitaires en mode ligne de commande

• Dtexec ( permet d’exécute un package en mode ligne de commande)

• Dtutil ( permet de gérer les packages existants en mode ligne de commande)

Page 35: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Atelier: présentation des outils

Page 36: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Ce qu’on a couvert

• Le fonctionnement de SSIS

• La terminologie SSIS

• Présentation des principaux outils SSIS

Page 37: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blog

Assistant d’import et d’export de données

Noureddine DRISSI Expert consultant bases de données

Introduction à SSIS 2016

Page 38: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Objectifs

• Comprendre le fonctionnement de l’assistant

• Savoir créer un package SSIS d’exportation et d’importation de données

Page 39: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Assistant SSIS

• Fonctions (simplet et rapide)

• Créer un package d’import/export de données

• Exporter des données à partir de

• BDD SQL Server, fichier plat, Access, feuille excel, fournisseurs OLE DB et ADO.NET

• Importer des données

• BDD SQL Server, fichier plat, Access, feuille excel, fournisseurs OLE DB et ADO.NET

Page 40: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Assistant SSIS• Fonctions

• Extraction/chargement simple de données (exemple: table vers Excel)

Page 41: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Atelier: Utilisation de l’assistant SSIS

Page 42: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Ce qu’on a couvert

• L’assistant d’import export SSIS

Page 43: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blog

L'outil de développement SQL

Server Data Tools (SSDT)

Noureddine DRISSI Expert consultant bases de données

Introduction à SSIS 2016

Page 44: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Objectifs

• Savoir créer un projet avec SSDT

• Présentation et exploration de l’architecture de développement SSDT

Page 45: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Présentation de SSDT• Concepteur graphique pour la création de packages

• Permet de créer un flux de contrôle

• Permet de créer un flux de données

• Permet d’ajouter des gestionnaire d’événements

• Permet de gérer les connexions source et destination

• Afficher le contenu d’un package

• Exécution et le suivi de la progression de l’exécution d’un package

• Configuration des packages

• Déploiement des packages SSIS

Page 46: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Les points forts de SSDT

• Développement rapide de scripts d’import / export

• Richesse des outils (tâches, connecteurs, transformateurs…)

• Visualisation des flux de données et utilisation de points d’arrêts lors de l’exécution dans Visual Studio facilitant la phase de Debug

• Facilité de déploiement et d’utilisation.

Page 47: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Assistant SSIS (SSDT)

Zone d’édition du package

Flux de données

L’explorateur de solution

Les propriétésdes objets

Le gestionnaire de connecteurs

La Boîte à outils SSIS

Paramètres de niveaupackage

Gestionnaire d’événements

Explorateur de Package

Variables

Flux de contrôle

Page 48: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Atelier: Présentation de SSDT

Page 49: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Ce qu’on a couvert

• Création d’un projet SSIS avec SSDT

• Présentation et exploration de l’architecture de développement SSDT

Page 50: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blog

Création d’un package SSIS

avec SSDT

Travailler avec SSIS

Noureddine DRISSI Expert consultant bases de données

Page 51: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Objectifs

• Comprendre et décrire un package SSIS

• Savoir créer et exécuter un package SSIS

Page 52: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Un package c’est quoi ?

• Description• Constitue une unité de travail à exécuter

• Un package est constitué de tâches qui se chargent du travail

• Un package est structuré en conteneur

• Tâche : Les tâches se chargent du travail dans les packages. SSIS comprend plusieurs tâches à l’aide desquelles on peut exécuter diverses fonctions

• Conteneur: Les conteneurs sont les objets qui fournissent la structure des packages. Ils prennent en charge les flux de contrôle répétitifs dans les packages et permettent de regrouper des tâches et d’autres conteneurs en unités de travail significatives.

Page 53: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Atelier: Création et exécution d’un package

Page 54: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Ce qu’on a couvert

• Création et exécution d’un package SSIS

Page 55: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blog

Mise à niveau de packages vers SSIS

2016

Travailler avec SSIS

Noureddine DRISSI Expert consultant bases de données

Page 56: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Objectifs

• Connaître les possibilités de mise à niveau des packages SSIS

• Savoir mettre à jour un package avec une version antérieure vers SSIS 2016

Page 57: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Mise à niveau de packages vers SSIS 2016• Assistant Mise à niveau de package SSIS

• Dans Outils de données SQL Server (SSDT)

• Dans SQL Server Management Studio

• À l'invite de commandes, en exécutant le fichier SSISUpgrade.exe

Sauvegarde des packages d’origine

Page 58: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Les mises à niveau possibles• Pour les packages DTS SQL Server 2000:

• Pas de mise à niveau direct

• Pour les packages SSIS SQL Server 2005, 2008, 2012 ou 2014:

• En migrant vers le format SQL Server 2016

• Scripts:

• Migration automatique des scripts VSA vers VSTA

• Les scripts Microsoft ActiveX ne sont plus supportés et doivent êtres remplacés

SQL Server 2005 ou 2008 Integration Services

Assistant de migration de package

SQL Server 2000Package DTS

SQL Server 2005, 2008, 2012 ou 2014

Package SSIS

SQL Server 2016 Integration Services

Assistant de migration de package

SQL Server 2016Package SSIS

ActiveX Script Task (VBScript)

Script Task (VSTA)Script Task (VSA)

Page 59: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Atelier : Mise à niveau d’un package

Page 60: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Ce qu’on a couvert

• La mise à niveau de package vers SSIS 2016

Page 61: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blog

Présentation de l'architecture des

objets d'une solution SSIS

Travailler avec les flux de contrôle

Noureddine DRISSI Expert consultant bases de données

Page 62: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Objectif

• Comprendre et décrire la hiérarchie entre les objets d’une solution SSIS

• Projets

• Packages

• Flux de contrôle

• Tâches / Conteneurs / Contraintes de précédence

• Gestionnaire de connexion

Page 63: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Solution SSIS avec SSDT

Projet 1

Package Package

Paramètres de niveau projet

Paramètres de niveau package Paramètres de niveau package

Déploiement

Déploiement

Catalogue SSIS

Modèle de déploiement

Gestionnaire connexion niveau projet

Gestionnaire de connexion niveau package

Gestionnaire de connexion niveau package

Projet 2

Projet N

Page 64: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Hiérarchie des objets SSISProjet

Package 1

Gestionnaire connexion niveau projet

Gestionnaire de connexion de niveau package

Tâches

ConteneursConteneursContraintes de précédence

Gestionnaire connexion niveau projet

Paramètres de niveau package

Paramètres de niveau projet

Package 2…

Flux de contrôle

Page 65: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Ce qu’on a couvert

• Présentation et description de la hiérarchie entre les objets d’une solution SSIS

• Projets

• Packages

• Flux de contrôle

• Tâches / Conteneurs / Contraintes de précédence

• Gestionnaire de connexion

Page 66: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blog

Qu'est-ce qu'un flux de contrôle de

package ?

Noureddine DRISSI Expert consultant bases de données

Travailler avec les flux de contrôle

Page 67: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Objectif

• Expliquer et décrire comment SSIS contrôle les tâches dans les packages au moyen d’un flux de contrôle de package

Page 68: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Un flux de contrôle c’est quoi ?

• Tâches

• Les tâches se chargent du travail dans les packages. La tâche de flux de données est la tâche la plus importante.

• Contraintes de précédences

• Les contraintes de précédence permettent de relier les tâches entre elles

• Conteneurs

• Les conteneurs permettent de regrouper ou d’appliquer en boucle les tâches

Page 69: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Ce qu’on a couvert• Expliquer et décrire comment SSIS contrôle les tâches dans les packages

au moyen d’un flux de contrôle de package

Page 70: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blog

Mise en œuvre d'un flux de contrôle SSIS

avec SSDT

Noureddine DRISSI Expert consultant bases de données

Travailler avec les flux de contrôle

Page 71: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Objectif

• Créer et lier des tâches et des conteneurs avec les contraintes de précédences dans un flux de contrôle de package SSIS

Page 72: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Exemple de flux de contrôle de package

Tp_flux_controle.dtsx

Export de la table CLIENTS dans un fichier c:\Export_Import\table_clients.txtExport de la table CLIENTS dans un fichier c:\Export_Import\table_clients.txt

Affichage du message « Tâche 1 OK »Affichage du message « Tâche 1 OK »

Affichage du message « Tâche 1 dans le conteneur de sequence »Affichage du message « Tâche 1 dans le conteneur de sequence »

Affichage du message « Tâche 2 dans le conteneur de séquence »Affichage du message « Tâche 2 dans le conteneur de séquence »

Export de la table FOURNISSEURS dans le fichier c:\Export_Import\table_fournisseurs.txtExport de la table FOURNISSEURS dans le fichier c:\Export_Import\table_fournisseurs.txt

Affichage du message « Tâches du package « TP_flux_de_contrôle » terminée »Affichage du message « Tâches du package « TP_flux_de_contrôle » terminée »

Contraintes de précédence

Flux de contrôle

Package ( tp_flux_controle.dtsx )Tâche de flux de données

Tâche de script

Conteneur de séquence

1

2

3

1

2

4

5

Page 73: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Atelier: Mise en œuvre d’un flux de contrôle

Page 74: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Ce qu’on a couvert

• Création d’un flux de contrôle de package SSIS avec des tâches, un conteneur et des contraintes de précédences

Page 75: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blog

Les tâches de flux de contrôle

Noureddine DRISSI Expert consultant bases de données

Travailler avec les flux de contrôle

Page 76: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Objectif

• Présenter et décrire les principales tâche SSIS dans un flux de contrôle

Page 77: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Les tâches d’un flux de contrôle

Tâche flux de données Tâches de bases de donnéesTâches de système de fichieret Internet

• Tâche de flux de données • Data Profiling• Bulk Insert• Execute SQL• Execute T-SQL• CDC Control

• File System• FTP• XML• Web Service• Send Mail

Tâches d’exécution de package et de processus Tâches WMI Tâches de script personnalissé

• Execute Package• Execute Process

• WMI Data Reader• WMI Event Watcher

• Script• Custom Tasks

Tâches de transfert de baseTâches AnalysisServices

Tâches de maintenance de basesde données

• Transfer Database• Transfer Error Messages• Transfer Jobs• Transfer Logins• Transfer Master Stored Procedures• Transfer SQL Server Objects

• Analysis Services Execute DDL• Analysis Services Processing• Data Mining Query

• Back Up Database• Check Database Integrity• History Cleanup• Maintenance Cleanup• Notify Operator• Rebuild Index• Reorganize Index• Shrink Database• Update Statistics

La plus importante

Page 78: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Ce qu’on a couvert• Présentation et description des principales tâches SSIS dans un flux de

contrôle

Page 79: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blog

Les contraintes de précédence

Noureddine DRISSI Expert consultant bases de données

Travailler avec les flux de contrôle

Page 80: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Objectifs

• Comprendre et décrire la notion de contrainte de précédence

• Comprendre et utiliser les différents types de contraintes de précédence entre les tâches dans un package

Page 81: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Les contraintes de précédence• Séquençage des tâches

• Trois résultats possibles

• Succès

• Echec

• Dernière étape

• Plusieurs contraintes

• AND logique

• OR logique

Tâche 1

Tâche 3Tâche 2

Succes

Echec

Dernière étape

Tâche 4

Page 82: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Atelier: Utilisation des contraintes de précédences

Page 83: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Ce qu’on a couvert

• L’utilisation des contraintes de précédences dans un package SSIS

Page 84: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blog

Utiliser un conteneur de séquence pour

organiser un package

Noureddine DRISSI Expert consultant bases de données

Travailler avec les conteneurs

Page 85: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Objectif

• Décrire, comprendre et utiliser le conteneur de séquence dans une tâche de flux de contrôle.

Page 86: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Les différents conteneurs

• Conteneur de séquence

• Conteneur de boucle For

• Conteneur de boucle Foreach

Page 87: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Le conteneur de séquence

• Fonctionnement

• Permet d’organiser les tâches dans un flux de contrôle.

• Ne modifie pas la trame du package.

Page 88: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Le conteneur de séquence

Conteneur de séquence

Conteneur de séquence

TâchesTâchesTâchesTâches

Page 89: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Atelier : Travailler avec le conteneur de séquence

Page 90: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Ce qu’on a couvert

• L’utilisation du conteneur de séquence pour organiser les tâches d’un flux de contrôle.

Page 91: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blog

Utiliser les conteneurs de boucle For pour répéter

des tâches de flux de contrôle

Travailler avec les conteneurs

Noureddine DRISSI Expert consultant bases de données

Page 92: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Objectif

• Décrire, comprendre et utiliser le conteneur de boucle For dans un package SSIS

Page 93: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Le conteneur de boucles For

• Fonctionnement

• Exécute une partie des tâches de flux de contrôle de façon répétitive en testant une condition.

• Proche d’une boucle en C# ou en C.

Page 94: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Le conteneur de boucle For

Conteneur de boucle For

Conteneur de boucle For

TâchesTâches

Page 95: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Atelier : Travailler avec le conteneur de boucle For

Page 96: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Ce qu’on a couvert

• L’utilisation du conteneur de boucle For dans SSDT

Page 97: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blog

Utiliser les conteneurs de boucle Foreach

Noureddine DRISSI Expert consultant bases de données

Travailler avec les conteneurs

Page 98: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Objectif

• Décrire, comprendre et utiliser le conteneur de boucle Foreach pour effectuer une boucle dans une collection d’objet

Page 99: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Le conteneur de boucle Foreach

• Fonctionnement

• Exécute un flux de contrôle de façon répétitive à l'aide d'un énumérateur.

• Utilise un système d’itération pour chaque item d’une collection.

Page 100: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Le conteneur de boucle Foreach

• Les collections

• Chaque fichier dans un dossier donné correspondant à un type de fichier spécifié.

• Chaque ligne de la première table dans un recordset ADO ou un Dataset ADO.NET.

• Chaque ligne de toutes les tables dans un dataset ADO.NET.

• Chaque élément d’une variable contenant une collection.

• Chaque nœud (node) dans une liste de nœud (nodelist) XML.

• Chaque objet dans une collection SMO (SQL Server Management Objects).

Page 101: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Le conteneur de boucle Foreach

Conteneur de boucle ForeachConteneur de

boucle Foreach

TâcheTâche

Page 102: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Atelier : Travailler avec le conteneur de boucle Foreach

Page 103: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Ce qu’on a couvert

• L’utilisation du conteneur de boucle Foreach pour effectuer une boucle dans une collection d’objet.

Page 104: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blog

Extraction de données à partir d’une source

Noureddine DRISSI Expert consultant bases de données

Travailler avec les flux de données

Page 105: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Objectifs

• Comprendre et décrire un flux de données

• Utiliser une tâche de flux de données pour extraire une source

Page 106: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Qu’est-ce qu’une tâche de flux de données ?

• Source

• Connexion à une source de données à partir de laquelle vous avez chargé des données (BDD, fichier plat, Excel, Access, …)

• Transformation

• Il peut s’agir d’un simple mappage de colonnes ou d’une opération de modification et de nettoyage complexe

• Destination

• Connexion à la destination de données dans laquelle vous avez chargé les données

Page 107: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Les sources de données

• Les sources de données dans un flux de données:

• Gestionnaire de connexion

• Tables, vues, ou requête (la clause where est supportée)

• ADO.NET

• OLE DB

• CDC Source

• SQL Server

• Excel

• Fichier plat

• XML

• Raw file

• Personnalisé

Bases Fichier Autre ?

Page 108: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Atelier: Extraction de données à partir d’une source

Page 109: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Ce qu’on a couvert

• L’extraction de données à partir d’une source dans un flux de données

Page 110: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blog

Chargement de données vers une

destination

Noureddine DRISSI Expert consultant bases de données

Travailler avec les flux de données

Page 111: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Objectifs

• Comprendre et décrire un flux de données de chargement

• Utiliser une tâche de flux de données pour charger des données

Page 112: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Rappel: tâche de flux de données

• Source

• Connexion à une source de données à partir de laquelle vous avez chargé des données (BDD, fichier plat, Excel, Access, …)

• Transformation

• Il peut s’agir d’un simple mappage de colonnes ou d’une opération de modification et de nettoyage complexe

• Destination

• Connexion à la destination de données dans laquelle vous avez chargé les données

Page 113: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Destination des données• Destination pour un flux de données:

• Gestionnaire de connexion:

• Table

• Vue • ADO.NET

• OLE DB

• SQL Server

• SQL Server Compact

• Excel

• Fichier plat

• Raw file

• Personnalisé

Base Fichier Autre ?

• Data mining model training

• Dimension processing

• Partition processing

SSAS• DataReader

• Recordset

Rowset

Page 114: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Atelier: Chargement de données vers une destination

Page 115: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Ce qu’on a couvert

• Le chargement de données vers une destination dans un flux de données

Page 116: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blog

Changer le type de données avec la

conversion de données

Noureddine DRISSI Expert consultant bases de données

Travailler avec les flux de données

Page 117: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Objectifs

• Décrire les opérations de transformations de lignes

• Utiliser un flux de données avec la transformation conversion de données

Page 118: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Transformation de lignes

Les tâches de transformation de lignes

• Conversion de données• Table de caractères• Copie de colonnes• Colonne dérivée• Exportation de colonne• Importation de colonne• Commande OLE DB

Page 119: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Atelier: Changer le type de données

Page 120: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Ce qu’on a couvert

• Changement du type dans un flux de données

Page 121: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blog

Création et remplacement de colonnes avec la transformation de colonnes dérivée

Noureddine DRISSI Expert consultant bases de données

Travailler avec les flux de données

Page 122: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Objectifs

• Décrire les opérations de transformations de lignes

• Utiliser un flux de données avec la transformation de colonnes dérivée

Page 123: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Transformation de lignes

Les tâches de transformation de lignes

• Colonne dérivée• Conversion de données (vu)• Table de caractères• Copie de colonnes• Exportation de colonne• Importation de colonne• Commande OLE DB

Page 124: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Atelier: Colonne dérivée

Page 125: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Ce qu’on a couvert

• Utiliser un flux de données avec la transformation de colonnes dérivée

Page 126: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blog

Travailler avec la transformation de

commande OLE DB

Noureddine DRISSI Expert consultant bases de données

Travailler avec les flux de données

Page 127: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Objectifs

• Décrire la transformation de commande OLE DB

• Utiliser un flux de données avec la transformation de commande OLE DB

Page 128: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Transformation de lignes

Les tâches de transformation de lignes

• Colonne dérivée (vu)• Conversion de données (vu)• Table de caractères• Copie de colonnes• Exportation de colonne• Importation de colonne• Commande OLE DB

Page 129: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Transformation de commande OLE DB

• La transformation de commande OLE DB exécute une instruction SQL pour chaque ligne d'un flux de données. Par exemple, vous pouvez exécuter une instruction SQL qui insère, met à jour ou supprime des lignes d'une table de base de données.

• Cette transformation est en général utilisée pour l'exécution de requêtes paramétrables.

Page 130: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

•Atelier: Transformation de commande OLE DB

Page 131: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Ce qu’on a couvert

• L’utilisation de la transformation de commande OLE DB dans un flux de données

Page 132: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blog

Travailler avec la transformation de copie de colonnes et table de

caractères

Noureddine DRISSI Expert consultant bases de données

Travailler avec les flux de données

Page 133: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Objectifs

• Décrire la transformation de copie de colonnes et table de caractères

• Utiliser un flux de données avec la transformation de copie de colonnes et table de caractères

Page 134: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Transformation de lignes

Les tâches de transformation de lignes

• Colonne dérivée (vu)• Conversion de données (vu)• Table de caractères• Copie de colonnes• Exportation de colonne• Importation de colonne• Commande OLE DB (vu)

Page 135: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Transformation de copie de colonnes

• La tâche de transformation de copie de colonne crée de nouvelles colonnes en copiant des colonnes existantes. Ces copies peuvent ensuite êtres utilisées pour d’autres tâches de transformation.

Page 136: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Transformation de table de caractères

• La tâche de transformation de la table de caractères permet d’effectuer des modifications sur les colonnes contenant des chaînes de caractères. La colonne modifiée peut soit remplacé celle utilisé avant la transformation soit être ajoutée en tant que nouvelle colonne.

Page 137: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

•Atelier: Transformation de copie de colonnes et table de caractères

Page 138: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Ce qu’on a couvert

• Utilisation de la transformation de copie de colonnes et table de caractères

Page 139: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blog

Travailler avec la transformation

d’agrégation et de tri

Noureddine DRISSI Expert consultant bases de données

Travailler avec les flux de données

Page 140: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Objectifs

• Décrire la transformation d’agrégation et de tri

• Utiliser un flux de données avec la transformation d’agrégation et de tri

Page 141: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Transformations d’ensemble de lignes

Transformations d’ensemble de lignes

• Agrégation• Tri• Tableau croisé dynamique• Echantillonnage du pourcentage• Echantillonnage de lignes• Pivot• Unpivot

Page 142: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Transformation d’agrégation

• La transformation d'agrégation applique des fonctions d'agrégation, comme Average, aux valeurs des colonnes et copie les résultats dans la sortie de la transformation.

• Les opérations d’agrégation

� AVG, GROUP BY, MIN, MAX, COUNT, COUNT DISTINCT et SUM

Page 143: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Transformations de tri pour ordonner les données

• Un des composants les plus couramment utilisé.

• Permet d’effectuer des tri sur les données en entrée

Page 144: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Atelier: Travailler avec la transformation d’agrégation et de tri

Page 145: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Ce qu’on a couvert

• L’utilisation de la transformation d’agrégation et de tri

Page 146: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blog

Travailler avec la transformation

échantillonnage du pourcentage et de lignes

Noureddine DRISSI Expert consultant bases de données

Travailler avec les flux de données

Page 147: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Objectifs

• Décrire la transformation échantillonnage du pourcentage et de lignes

• Utiliser un flux de données avec la transformation échantillonnage du pourcentage et de lignes

Page 148: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Transformations d’ensemble de lignes

Transformations d’ensemble de lignes

• Agrégation (vu)• Tri (vu)• Tableau croisé dynamique• Echantillonnage du pourcentage• Echantillonnage de lignes• Pivot• Unpivot

Page 149: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Transformation échantillonnage du pourcentage

• La tâche de transformation de l’échantillonnage du pourcentage permet de créer un échantillon d’un flux de données.

Page 150: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Transformation échantillonnage de lignes

• Similaire à la tâche de l’échantillonnage du pourcentage.

• Pour définir la taille du flux de données à échantillonné, on détermine un nombre de lignes.

Page 151: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Atelier: Travailler avec la transformation échantillonnage du pourcentage et de lignes

Page 152: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Ce qu’on a couvert

• Utilisation de la transformation échantillonnage du pourcentage et de lignes dans un flux de données

Page 153: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blog

Les autres tâches de transformation d’ensemble

de lignes

Noureddine DRISSI Expert consultant bases de données

Travailler avec les flux de données

Page 154: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Objectif

• Décrire les autres tâches de transformation d’ensemble de lignes

Page 155: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Transformations d’ensemble de lignes

Transformations d’ensemble de lignes

• Agrégation (vu)• Tri (vu)• Tableau croisé dynamique• Echantillonnage du pourcentage (vu)• Echantillonnage de lignes (vu)• Pivot • Unpivot

Page 156: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Ce qu’on a couvert

• Décrire les autres tâches de transformation d’ensemble de lignes

Page 157: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blog

Auditer les données avec la transformation de calcul

du nombre de lignes

Noureddine DRISSI Expert consultant bases de données

Travailler avec les flux de données

Page 158: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Objectifs

• Décrire la transformation de calcul du nombre de lignes

• Utiliser un flux de données avec la transformation du nombre de lignes

Page 159: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Transformations d’audit

La transformation des données

• Nombre de lignes• Audit

Page 160: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Transformation de calcul du nombre de lignes

• La transformation de calcul du nombre de lignes compte les lignes à mesure qu'elles passent par un flux de données et stocke le nombre final dans une variable.

• Précisions:

• Stocke la valeur de nombre de lignes dans la variable uniquement après que la dernière ligne est passée par la transformation

• Ne prend pas en charge de sortie d'erreur

Page 161: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Atelier: Travailler avec Transformation de calcul du nombre de lignes

Page 162: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Ce qu’on a couvert

• Utilisation de la transformation de calcul du nombre de lignes dans un flux de données

Page 163: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blog

Auditer les données avec la transformation

d’audit

Noureddine DRISSI Expert consultant bases de données

Travailler avec les flux de données

Page 164: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Objectifs

• Décrire la transformation d’audit

• Utiliser un flux de données avec la transformation d’audit

Page 165: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Transformations d’audit

La transformation des données

• Nombre de lignes (vu)• Audit

Page 166: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Transformation d’audit

• La tâche de transformation d’audit permet d’ajouter des colonnes contenant des informations sur l’exécution du package au flux de données.

• Stockage des informations d’audit

• Table avec des colonnes d’audit ou fichier (plat/excel)

Page 167: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Atelier: Travailler avec Transformation d’audit

Page 168: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Ce qu’on a couvert

• Utilisation de la transformation d’audit dans un flux de données

Page 169: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blog

Séparer des données avec la transformation de

fractionnement conditionnel

Noureddine DRISSI Expert consultant bases de données

Travailler avec les flux de données

Page 170: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Objectifs

• Décrire la transformation de fractionnement conditionnel

• Utiliser un flux de données avec la transformation de fractionnement conditionnel

Page 171: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Transformations de fractionnementet de jointure

La transformation des données

• Fractionnement conditionnel• Recherche• Union totale• De fusion• De jointure de fusion• Multidiffusion• Cache• …

Page 172: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Transformation de fractionnement conditionnel

• La transformation de fractionnement conditionnel peut aiguiller les lignes de données vers différentes sorties, suivant le contenu des données.

Page 173: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

•Atelier: Transformation de fractionnement conditionnel

Page 174: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Ce qu’on a couvert

• L’utilisation de la transformation de fractionnement dans un flux de données

Page 175: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blog

Joindre les données avec la transformation de

recherche

Noureddine DRISSI Expert consultant bases de données

Travailler avec les flux de données

Page 176: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Objectifs

• Décrire la transformation de recherche

• Utiliser un flux de données avec la transformation de recherche

Page 177: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Transformations de fractionnementet de jointure

La transformation des données

• Fractionnement conditionnel (vu)• Recherche• Union totale• De fusion• De jointure de fusion• Multidiffusion• Cache• …

Page 178: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Transformation de recherche

• La transformation de recherche effectue des recherches en joignant des données de colonnes d'entrée à des colonnes d'un dataset de référence.

Page 179: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Atelier: Travailler avec la transformation de recherche

Page 180: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Ce qu’on a couvert

• L’utilisation de la transformation de recherche dans un flux de données

Page 181: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blog

Combiner des données d’entrées multiples avec

la transformation d’union totale

Noureddine DRISSI Expert consultant bases de données

Travailler avec les flux de données

Page 182: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Objectifs

• Décrire la transformation d’union totale

• Utiliser un flux de données avec la transformation d’union totale

Page 183: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Transformations de fractionnementet de jointure

La transformation des données

• Fractionnement conditionnel (vu)• Recherche (vu)• Union totale• De fusion• De jointure de fusion• Multidiffusion• Cache• …

Page 184: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Transformation d’union totale

• La transformation d’union totale permet de fusionner autant de flux de données que l’on souhaite.

• Les données non pas besoin d’être triées.

Page 185: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Atelier: Travailler avec la transformation d’union totale

Page 186: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Ce qu’on a couvert

• L’utilisation de la transformation d’union totale dans un flux de données

Page 187: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blog

Travailler avec les transformations de fusion et jointure de

fusionNoureddine DRISSI Expert consultant bases de données

Travailler avec les flux de données

Page 188: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Objectifs

• Décrire les transformations de fusion et jointure de fusion

• Utiliser un flux de données avec les transformations de fusion et jointure de fusion

Page 189: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Transformations de fractionnementet de jointure

La transformation des données

• Fractionnement conditionnel (vu)• Recherche (vu)• Union totale (vu)• De fusion• De jointure de fusion• Multidiffusion• Cache• …

Page 190: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Transformation de fusion

• La transformation de fusion permet la fusion de deux flux de données.

• Les flux de données doivent être triées de la même manière.

Page 191: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Transformation de jointure de fusion

• La transformation de jointure de fusion permet la fusion de deux flux de données ensemble en exécutant une jointure INNER, LEFT ou FULL.

• Les flux de données doivent être triées de la même manière.

Page 192: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Atelier: Travailler avec les transformations de fusion et jointure de fusion

Page 193: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Ce qu’on a couvert

• L’utilisation des transformations de fusion et jointure de fusion

Page 194: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blog

Travailler avec la transformation multidiffusion

Noureddine DRISSI Expert consultant bases de données

Travailler avec les flux de données

Page 195: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Objectifs

• Décrire la transformation multidiffusion

• Utiliser un flux de données avec la transformation multidiffusion

Page 196: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Transformations de fractionnementet de jointure

La transformation des données

• Fractionnement conditionnel (vu)• Recherche (vu)• Union totale (vu)• De fusion (vu)• De jointure de fusion (vu)• Multidiffusion• Cache• …

Page 197: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Transformation multidiffusion

• La transformation multidiffusion permet d’utiliser un unique flux de données et de l’utiliser comme source pour de nombreux autres flux de données.

• Copie les données et l’envoi vers plusieurs directions.

Page 198: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Atelier: Travailler avec la transformation multidiffusion

Page 199: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Ce qu’on a couvert

• L’utilisation de la transformation multidiffusion

Page 200: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blog

Les autres groupes de transformation de

données et les tâches associées

Noureddine DRISSI Expert consultant bases de données

Travailler avec les flux de données

Page 201: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Objectif

• Présenter les autres groupes de transformation de données et les tâches associées

Page 202: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Transformation de lignes

Transformations d’ensemble de ligne

Transformations d’audit

Transformations Business Intelligence

Transformations personnalisées

La transformation des données

• Audit

• Nombre de lignes

• Agrégation

• Tri

• Echantillonage du pourcentage

• Echantillonage de lignes

• Tableau dynamique croisé

• Pivot

• Unpivot

• Table caractère

• Copie de colonnes

• Conversion de données

• Colonne dérivée

• Exportation de colonne

• Importation de colonne

• Commande OLE DB

• De dimension à variation lente

• De regroupement probable

• De recherche floue

• D’extraction à terme

• De recherche à terme

• De requête d’exploration de données

• Nettoyage de données

• Composant script

• Composant personnalisé

Transformations de fractionnementet de jointure

• Fractionnement conditionnel

• Recherche

• Union totale

• De fusion

• De jointure de fusion

• Multidiffusion

• Cache

• CDC

Page 203: Alphorm.com Formation Microsoft SQL Server 2016 Business Intelligence (SSIS)

Formation Microsoft SQL Server 2016 Business Intelligence (SSIS) alphorm.com™©

Ce qu’on a couvert

• Présentation des autres groupes de transformation de données et les tâches associées


Recommended