SlideShare a Scribd company logo
Module 1: Introduction
   to SQL Server 2012
   CTE Ottawa Seminar Day
       September 7th, 2012
Module Overview
• Enterprise Data Scenarios and Trends

• SQL Server 2012 Overview
Lesson 1: Enterprise Data Scenarios and Trends
• Common Data Workloads

• Key Trend – Mission-Critical Data

• Key Trend – Self-Service Business Intelligence

• Key Trend – Big Data

• Key Trend – Cloud Technologies

• Key Trend – Appliances
Common Data Workloads



              Business Intelligence (BI)




               Data Warehousing (DW)




       Enterprise Integration Management (EIM)




         Online Transaction Processing (OLTP)
Key Trend – Mission-Critical Data




• High availability

• Fast, up-to-the-minute data recoverability
Key Trend – Self-Service Business Intelligence




• Empower information workers

• Reduce IT workload
Key Trend – Big Data




• Large volumes of data

• Many data sources

• Diverse data formats
Key Trend – Cloud Technologies



   • Public Cloud

   • Private Cloud

   • Hybrid Solutions
Key Trend – Appliances




• Pre-configured hardware and software solutions

• Optimized for specific workloads

• Generally purchased from a single supplier with a single
 support package
Lesson 2: SQL Server 2012 Overview
• SQL Server 2012 Editions

• SQL Server 2012 Components

• SQL Server 2012 and Other Microsoft Technologies

• SQL Server 2012 Licensing
SQL Server 2012 Editions


    Premium Editions
    Parallel Data Warehouse   Enterprise


    Core Editions
    Business Intelligence     Standard


    Other Editions
    Express                   Compact
    Developer                 SQL Azure
    Web
SQL Server 2012 Components

• Not just a database engine

• Relational and Business Intelligence Components




      SQL Server Components
      Database Engine          Analysis Services
      Integration Services     Reporting Services
      Master Data Services     StreamInsight
      Data Mining              Full-Text Search
      PowerPivot               Replication
      Data Quality Services    Power View
SQL Server 2012 and Other Microsoft Technologies
Product                       Relationship to SQL Server
Microsoft Windows Server      The operating system on which SQL Server is
                              installed
Microsoft SharePoint Server   A Web platform for collaboration through which
                              users can access SQL Server Reporting Services,
                              PowerPivot, and Power View
Microsoft System Center       A suite of technologies for provisioning and
                              managing server infrastructure. SQL Server can
                              be deployed on virtual servers in a private cloud
                              and managed by System Center
Microsoft Office              An information worker productivity suite that
                              provides an intuitive way for users to consume
                              SQL Server BI technologies and manage master
                              data models
The .NET Framework            A software development runtime that includes
                              class libraries for creating applications that
                              interact with data in a SQL Server database
Windows Azure                 A cloud platform for developing applications that
                              can leverage cloud-based databases and
                              reporting
SQL Server 2012 Licensing



 • Core-based Licensing – licensing by computing power

 • Server + CAL Licensing – licensing by user

 • Virtual Machine Licensing – licensing VMs


   Edition                          Licensing Model
                           Server + CAL      Core-based
   Enterprise
                                                 
   Business Intelligence
                                
   Standard
                                                
Module Review
• Enterprise Data Scenarios and Trends

• SQL Server 2012 Overview




          Learn more at www.microsoft.com/sqlserver
Module 2: SQL Server
2012 as a Platform for
 Mission-Critical Data
 CTE Ottawa Seminar Day
     September 7th, 2012
Module Overview
• Database Development Enhancements

• Database Manageability Enhancements

• Database Availability Enhancements
Lesson 1: Database Development Enhancements
• Transact-SQL Enhancements

• New Functions

• Spatial Data Enhancements

• Storing and Querying Documents
Transact-SQL Enhancements
 • The WITH RESULT SETS Clause
   EXECUTE GetOrderPickList 'SO59384'
   WITH RESULT SETS
   (
     ([SalesOrder] nvarchar(20) NOT NULL,[LineItem] int, [Product] int, [Quantity] int)
   )


• The THROW Statement
   THROW 50001, 'Customer doers not exist', 1


• Paging with the OFFSET and FETCH Keywords
   SELECT SalesOrderNumber, OrderDate, CustomerName FROM SalesOrders
   ORDER BY SalesOrderNumber ASC
   OFFSET 20 ROWS
   FETCH NEXT 10 ROWS ONLY

• Sequence Objects
   CREATE SEQUENCE OrderNumbers
   START WITH 1000 INCREMENT BY 10
   ...
   CREATE TABLE Orders
   (OrderNumber int PRIMARY KEY DEFAULT(NEXT VALUE FOR OrderNumbers),
    CustomerKey int, ProductKey int, Quantity int)

• The OVER Clause
   SELECT City, OrderYear, OrderQuantity,
          SUM(OrderQuantity) OVER (PARTITION BY City ORDER BY OrderYear
          ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) AS RunningQty
   FROM CitySalesByYear
Demonstration: Using Transact-SQL Enhancements

In this demonstration, you will see how to:

   Use the WITH RESULT SETS Clause
   Use the THROW Statement
   Implement Paging
   Use a Sequence Object
   Use the OVER Subclause
New Functions

Conversion Functions
PARSE                     PARSE('£345.98' AS money USING 'en-GB')
TRY_PARSE                 TRY_PARSE('£345.98' AS money USING 'en-US')
TRY_CONVERT               TRY_CONVERT(int, 'One')
Date and Time Functions
DATEFROMPARTS             DATEFROMPARTS (2010, 12, 31)
DATETIMEFROMPARTS         DATETIMEFROMPARTS ( 2010, 12, 31, 23, 59, 59, 0 )
SMALLDATETIMEFROMPARTS    SMALLDATETIMEFROMPARTS ( 2010, 12, 31, 23, 59 )
DATETIME2FROMPARTS        DATETIME2FROMPARTS ( 2010, 12, 31, 23, 59, 59, 1, 7 )
TIMEFROMPARTS             TIMEFROMPARTS ( 23, 59, 59, 1, 5 )
DATETIMEOFFSETFROMPARTS   DATETIMEOFFSETFROMPARTS(2010,12,31,14,23,23,1,8,0,7)
EOMONTH                   EOMONTH (GETDATE(), 1)
Logical Functions
CHOOSE                    CHOOSE (3,'Cash','Credit Card','Debit Card','Invoice')
IIF                       IIF(@i % 2 = 0, 'Even', 'Odd')
String Functions
CONCAT                    CONCAT(Firstname, ' ', LastName)
FORMAT                    FORMAT(UnitPrice, 'C', 'en-GB')
Demonstration: Using New Functions

In this demonstration, you will see how to:

 Use Conversion Functions
 Use Data and Time Functions
 Use Logical Functions
 Use String Functions
Spatial Data Enhancements

• New Spatial Shapes




    CIRCULARSTRING     COMPOUNDCURVE   CURVEPOLYGON



• Shapes larger than a Hemisphere




• New FULLGLOBE Shape
Demonstration: Using Spatial Data Enhancements

In this demonstration, you will see how to:

   Create a CIRCULARSTRING Shape
   Create a COMPOUNDCURVE Shape
   Create a CURVEPOLYGON Shape
   Create a Shape that is Larger than a Hemisphere
   Use the FULLGLOBE Shape
Storing and Querying Documents




      CREATE TABLE FileStore AS FileTable
      WITH (FileTable_Directory = 'Documents')



SELECT [name] As FileName FROM FileStore
WHERE CONTAINS(PROPERTY(file_stream,'Title'),'Bike OR Cycling')


SELECT [name] As FileName
FROM FileStore
WHERE CONTAINS(file_stream, 'NEAR((bicycle, race), 15)')
Demonstration: Working with Documents

In this demonstration, you will see how to:

 Create a FileTable
 Use the NEAR Operator
Lesson 2: Database Manageability Enhancements
• Management Tool Enhancements

• Security Enhancements
Management Tool Enhancements

• Code Snippets




• Enhanced Debugging
Demonstration: Using SQL Server Management Studio

In this demonstration, you will see how to:

 Use Code Snippets
 Debug Transact-SQL Code
Security Enhancements

• User-Defined Server Roles
 CREATE SERVER ROLE [AGAdmins] AUTHORIZATION [sa];
 GRANT ALTER ANY AVAILABILITY GROUP TO [AGAdmins];
 GRANT ALTER ANY ENDPOINT TO [AGAdmins];
 GRANT CREATE AVAILABILITY GROUP TO [AGAdmins];
 GRANT CREATE ENDPOINT TO [AGAdmins];

 ALTER SERVER ROLE [AGAdmins]
 ADD MEMBER [JohnDoe];



                                            • Contained Databases
                 CREATE DATABASE [MyContainedDB]
                 CONTAINMENT = PARTIAL
                 GO

                 USE [MyContainedDB]
                 CREATE USER [SalesAppUser] WITH PASSWORD = 'Pa$$w0rd'
                 GO
Demonstration: Using Security Enhancements

In this demonstration, you will see how to:

 Create a Server Role
 Create a Contained Database
Lesson 3: Database Availability Enhancements
• Backup and Restore Enhancements

• AlwaysOn Availability Groups
Backup and Restore Enhancements

• Point-In-Time Restore




                          • Page Restore
Demonstration: Using Backup and Restore Enhancements

  In this demonstration, you will see how to:

     Perform a Point-In-Time Restore
AlwaysOn Availability Groups




                            Node3

                       Windows Cluster

                             Async


     Node1 (Primary)
                                         Node2 (Read-Only)
                           Listener
Demonstration: Using AlwaysOn Availability Groups

In this demonstration, you will see how to:

   Verify Cluster and AlwaysOn Configuration
   Perform a Full Database Backup
   Create an AlwaysOn Availability Group
   View Availability Group Configuration
   Connect to an AlwaysOn Availability Group
   Use a Readable Secondary Replica
   Use a Readable Secondary Replica with a Read-Intent Connection
   Perform a Manual Failover
   Observe Automatic Failover
Module Review
• Database Development Enhancements

• Database Manageability Enhancements

• Database Availability Enhancements




For more information, attend the following courses:
•   10774A:   Querying Microsoft® SQL Server® 2012
•   10775A:   Administering Microsoft® SQL Server® 2012 Databases
•   10776A:   Developing Microsoft® SQL Server® 2012 Databases
•   40008A:   Updating your Database Skills to Microsoft® SQL Server® 2012
Module 3: Enterprise
Integration Management
  and Data Warehousing
    CTE Ottawa Seminar Day
        September 7th, 2012
Module Overview
• SQL Server 2012 Data Quality Services

• SQL Server 2012 Master Data Services

• SQL Server 2012 Integration Services

• SQL Server 2012 for Data Warehousing
Lesson 1: SQL Server 2012 Data Quality Services
• Overview of SQL Server Data Quality Services

• Data Quality Services Knowledge Bases

• Data Cleansing

• Data Matching
Overview of SQL Server Data Quality Services

                                         DQS Server

• DQS is a knowledge-
 based solution for:
                                                  KB

     Data Cleansing
     Data Matching                             1011000110


• DQS Components:
                            DQS Client
     Server
     Client
     Data Cleansing SSIS                Data Cleansing Transformation
      Transformation
                                                     SSIS
Data Quality Services Knowledge Bases



• Repository of knowledge about
 data:
                                             KB
    Domains define values and rules for
     each field
    Matching policies define rules for
     identifying duplicate records
                                           1011   000110
Demonstration: Creating a Knowledge Base

In this demonstration, you will see how to:

 Create a Knowledge Base
 Perform Knowledge Discovery
 Perform Domain Management
Data Cleansing




1. Select a knowledge base

2. Map columns to domains

3. Review suggestions and
   corrections
4. Export results
Demonstration: Cleansing Data

In this demonstration, you will see how to:

 Create a Data Cleansing Project.
 View Cleansed Data.
Data Matching

• Matching Policies




• Data Matching Projects
Demonstration: Matching Data

In this demonstration, you will see how to:

 Create a Matching Policy.
 Create a Data Matching Project.
 View Data Matching Results.
Lesson 2: SQL Server 2012 Master Data Services
• Overview of SQL Server Master Data Services

• Master Data Models

• The Master Data Services Add-in for Excel

• Implementing a Master Data Hub
Overview of SQL Server Master Data Services



                                                                            CRM
                                                 Customer ID        Name          Address               Phone

                                                 1235               Ben Smith     1 High St, Seattle    555 12345




                        
                                Customer ID      Account No         Contact No    Customer         Address              Phone
       Master Data Hub          1235             531                22            Ben Smith        1 High St, Seattle   555 12345



                                                                Master Data Services

                                                                                                                                                Data Steward



                                                                      Other consumers
                                                                 (e.g. Data Warehouse ETL)


             Order Processing System                                                                             Marketing System
Account No     Customer          Address                Phone                                 Contact No     Name          Address               Phone

531            Benjamin Smith    1 High St, Seattle     555 12345                             22             B Smith       5 Main St, Seattle    555 54321
Master Data Models
• A versioned data model for
                                                              Customers Model
 specific business item or area
 of the business                                                    Version 1

• Contains definitions for                   Account Type Entity                             Member

 entities required in the                    Attributes:
                                                                                  •
                                                                                  •
                                                                                        Code: 1
                                                                                        Name: Standard
 business area                               •
                                             •
                                                 Code (string)
                                                 Name (string)                               Member
                                                                                  •     Code: 2
     Often an entity with the same                                               •     Name: Premier

      name as the model, as well as
      related entities
                                             Customer Entity                               Member
• Each entity has a defined set                                               •       Code: 1235
                                         Attributes:
 of attributes                           •   Code (free-form text)
                                                                              •
                                                                              •
                                                                                      Name: Ben Smith
                                                                                      Address: 1 High St, Seattle
                                         •   Name (free-form text)            •       Phone: 555-12345
                                         •   Address (free-form text)         •       AccountType: 1
     All entities have Code and         •   Phone (free-form text)           •       CreditLimit: 1000
                                         •   AccountType (domain-based)
      Name attributes                    •   CreditLimit (free-form number)
                                         Contact Details Attribute Group
     Attributes can be categorized in
      attribute groups

• Each instance of an entity is a                  Version 2                              Version 3
 known as a member
Demonstration: Creating a Master Data Model

In this demonstration, you will see how to:

 Create a Master Data Model
 Create Entities
 Create Attributes
 Add and Edit Members
The Master Data Services Add-in for Excel


• Use the Master Data
 Services Add-In for
 Excel to connect to a
 model
• Create entities

• Add columns to
 create attributes
• Edit entity member
 data in worksheets
• Publish changes to
 Master Data Services
Demonstration: Editing a Model in Microsoft Excel

In this demonstration, you will see how to:

 View a Master Data Entity in Excel
 Add a Member
 Add a Free-Form Attribute
 Add a Domain-Based Attribute and a Related Entity
Implementing a Master Data Hub



                 CRM
                                         Master Data Hub
                                                                           Other consumers
                                  SSIS                                (e.g. Data Warehouse ETL)
                                                             SSIS



                                                
                               SSIS


                                                            SSIS

     Order Processing System
                                             Data Steward


                                                                    Marketing System

• Users insert and update data in application data stores

• Application data is loaded into the master data hub via staging
 tables for consolidation and management by data stewards
• Master data flows back to application data stores and other
 consumers across the enterprise via subscription views
Demonstration: Importing and Consuming Master Data

In this demonstration, you will see how to:

 Use an SSIS Package to Import Data
 View Import Status
 Create a Subscription View
 Query a Subscription View
Lesson 3: SQL Server 2012 Integration Services
• Overview of SQL Server Integration Services

• Extracting Modified Data

• Deploying and Managing Integration Services Projects
Overview of SQL Server Integration Services
• SSIS project:
     A versioned container for parameters and packages
     A unit of deployment to an SSIS Catalog

• SSIS package:
     A unit of task flow execution
     A unit of deployment (package deployment model)

 Project                        Project-level parameter

                                Project-level connection manager
                                                                       Deploy   SSIS Catalog
 Package                                Package
      Package-level parameter             Package-level parameter

       Package connection manager         Package connection manager
       Control Flow
                                                                                Package
                                         Control Flow
                                                                       Deploy   Deployment
                 Data Flow                         Data Flow
                                                                                Model
Extracting Modified Data
                     Initial Extraction                                                Incremental Extraction

                                               1                                                                     CDC Control
                         CDC Control                                                           1                     Get Processing Range
                         Mark Initial Load Start




                                                        CDC                          CDC
                                                                                                                 CDC          CDC Source
                          Source                        State                        State
         Data Flow




                                                                                                                          2




                                                                                                   Data Flow
                                                       Variable                     Variable
                         2
                                                                                                                         CDC Splitter

                         Staged Inserts
                                                                                                                     3
                                                                  CDC State Table

                                                   3                                                       Staged        Staged      Staged
                          CDC Control
                          Mark Initial Load End                                                            Inserts       Updates     Deletes

                                                                                               4                      CDC Control
                                                                                                                      Mark Processed Range


1.    A CDC Control Task records the                                       1.   CDC Control Task establishes the range of
      starting LSN                                                              LSNs to be extracted
2.    A data flow extracts all records                                     2.   A CDC Source extracts records and CDC
                                                                                metadata
3.    A CDC Control task records the ending
      LSN                                                                  3.   Optionally, a CDC Splitter splits the data
                                                                                flow into inserts, updates, and deletes
                                                                           4.   A CDC Control task records the ending LSN
Demonstration: Using the CDC Control Task

In this demonstration, you will see how to:

 Enable Change Data Capture
 Perform an Initial Extraction
 Extract Modified Records
Deploying and Managing Integration Services Projects
Demonstration: Deploying an Integration Services Project

  In this demonstration, you will see how to:

     Create an SSIS Catalog
     Deploy an SSIS Project
     Create Environments and Variables
     Run an SSIS Package
     View Execution Information
Lesson 4: SQL Server 2012 for Data Warehousing
• Overview of SQL Server Data Warehousing

• Options for SQL Server Data Warehousing

• Optimizing Performance with Columnstore Indexes
Overview of SQL Server Data Warehousing




• A centralized store of business data for reporting and analysis

• Typically, a data warehouse:
     Contains large volumes of historical data
     Is optimized for querying data (as opposed to inserting or updating)
     Is incrementally loaded with new business data at regular intervals
     Provides the basis for enterprise business intelligence solutions
Options for SQL Server Data Warehousing




                    Custom-build




     Reference                     Data warehouse
    architectures                    appliances
Optimizing Performance with Columnstore Indexes


             Row Store                                      Column Store
       ProductID   OrderDate   Cost             ProductID          OrderDate          Cost

       310         20010701    2171.29          310                20010701           2171.29
                                                311                …
       311         20010701    1912.15                                                1912.15
                                                312                20010702
       312         20010702    2171.29                                                2171.29
                                                313                …
       313         20010702    413.14                                                 413.14
data                                            314                …
page                                                                                  333.42
1000                                            315                20010703
                                                                                      1295.00
                                                316                …
                                                                                      4233.14
                                                317                …
       ProductID   OrderDate   Cost
                                                318                                   641.22
                                                                   …
       314         20010701    333.42                                                 24.95
                                                319                …
       315         20010701    1295.00          320                20010704           64.32
       316         20010702    4233.14          321                …                  1111.25

data
       317         20010702    641.22
                                         data               data               data
page                                     page               page               page
1001                                     2000               2001               2002
Demonstration: Using a Columnstore Index

In this demonstration, you will see how to:

 View Logical Reads for a Query
 Create a Columnstore Index
 View Performance Improvement
Module Review
• SQL Server 2012 Data Quality Services

• SQL Server 2012 Master Data Services

• SQL Server 2012 Integration Services

• SQL Server 2012 for Data Warehousing




For more information, attend the following courses:
•   10777A: Implementing a Data Warehouse with Microsoft® SQL Server® 2012
•   40009A: Updating your Business Intelligence Skills to Microsoft® SQL
    Server® 2012

More Related Content

What's hot (20)

PDF
SQL Server 2016 BI updates
Chris Testa-O'Neill
 
PDF
KoprowskiT_SQLSat230_Rheinland_SQLAzure-fromPlantoBackuptoCloud
Tobias Koprowski
 
PPT
Ssis 2008
maha2886
 
PPTX
SQL Server Reporting Services 2008
VishalJharwade
 
DOCX
Sql server reporting services
ssuser1eca7d
 
PPT
SSIS begineer
sumitkumar3201
 
DOC
Software architecture to analyze licensing needs for pcms- pegasus cargo ma...
Shahzad
 
PPTX
Sql 2016 - What's New
dpcobb
 
PPTX
Sql server denali
shinycardoza
 
PDF
Whats New Sql Server 2008 R2 Cw
Eduardo Castro
 
PDF
Microsoft SQL Server Analysis Services (SSAS) - A Practical Introduction
Mark Ginnebaugh
 
PDF
Introducing Microsoft SQL Server 2012
Intergen
 
PPTX
Developing ssas cube
Slava Kokaev
 
PDF
First Look to SSIS 2012
Pedro Perfeito
 
PDF
Ssn0020 ssis 2012 for beginners
Antonios Chatzipavlis
 
PDF
Whats New Sql Server 2008 R2
Eduardo Castro
 
PPTX
Everything you need to know about SQL Server 2016
Softchoice Corporation
 
PPT
Ms sql server architecture
Ajeet Singh
 
PPTX
SQL Server 2016 New Features and Enhancements
John Martin
 
PDF
A Gentle Introduction to Microsoft SSAS
John Paredes
 
SQL Server 2016 BI updates
Chris Testa-O'Neill
 
KoprowskiT_SQLSat230_Rheinland_SQLAzure-fromPlantoBackuptoCloud
Tobias Koprowski
 
Ssis 2008
maha2886
 
SQL Server Reporting Services 2008
VishalJharwade
 
Sql server reporting services
ssuser1eca7d
 
SSIS begineer
sumitkumar3201
 
Software architecture to analyze licensing needs for pcms- pegasus cargo ma...
Shahzad
 
Sql 2016 - What's New
dpcobb
 
Sql server denali
shinycardoza
 
Whats New Sql Server 2008 R2 Cw
Eduardo Castro
 
Microsoft SQL Server Analysis Services (SSAS) - A Practical Introduction
Mark Ginnebaugh
 
Introducing Microsoft SQL Server 2012
Intergen
 
Developing ssas cube
Slava Kokaev
 
First Look to SSIS 2012
Pedro Perfeito
 
Ssn0020 ssis 2012 for beginners
Antonios Chatzipavlis
 
Whats New Sql Server 2008 R2
Eduardo Castro
 
Everything you need to know about SQL Server 2016
Softchoice Corporation
 
Ms sql server architecture
Ajeet Singh
 
SQL Server 2016 New Features and Enhancements
John Martin
 
A Gentle Introduction to Microsoft SSAS
John Paredes
 

Viewers also liked (12)

PDF
Download-manuals-training-trainingmodulefor hymo-strainers (1)
hydrologyproject0
 
PPTX
RoboCV Module 2: Introduction to OpenCV and MATLAB
roboVITics club
 
DOC
Acknowledgment
Amit Gandhi
 
DOC
Acknowledgment
Elvira Arevalo
 
DOCX
Acknowledgment
Asama Kiss
 
PDF
Acknowledgements
Dr. Paulsharma Chakravarthy
 
DOCX
Sample Acknowledgement of Project Report
MBAnetbook.co.in
 
PDF
An Implementation of I2C Slave Interface using Verilog HDL
IJMER
 
DOCX
Acknowledgement
ferdzzz
 
DOCX
Acknowledgement
Surendra Sonawane
 
PPT
Test of hypothesis
vikramlawand
 
DOC
Acknowledgement For Assignment
Thomas Mon
 
Download-manuals-training-trainingmodulefor hymo-strainers (1)
hydrologyproject0
 
RoboCV Module 2: Introduction to OpenCV and MATLAB
roboVITics club
 
Acknowledgment
Amit Gandhi
 
Acknowledgment
Elvira Arevalo
 
Acknowledgment
Asama Kiss
 
Acknowledgements
Dr. Paulsharma Chakravarthy
 
Sample Acknowledgement of Project Report
MBAnetbook.co.in
 
An Implementation of I2C Slave Interface using Verilog HDL
IJMER
 
Acknowledgement
ferdzzz
 
Acknowledgement
Surendra Sonawane
 
Test of hypothesis
vikramlawand
 
Acknowledgement For Assignment
Thomas Mon
 
Ad

Similar to Session 2: SQL Server 2012 with Christian Malbeuf (20)

PPTX
SQL Server Workshop for Developers - Visual Studio Live! NY 2012
Andrew Brust
 
PDF
Microsoft India – SQL Server 2008 R2 Datasheet
Microsoft Private Cloud
 
PDF
DesignMind SQL Server 2008 Migration
Mark Ginnebaugh
 
PPTX
SSDT Workshop @ SQL Bits X (2012-03-29)
Gert Drapers
 
PPTX
6232 b 01
stamal
 
PPTX
Microsoft SQL Server 2012
Dhiren Gala
 
PDF
SQL Server 2008 Migration
Mark Ginnebaugh
 
PDF
SQL Server 2008 Highlights
Intergen
 
PDF
Sql server licensing_guide_partneredn_v1-1
guestd54e35
 
PDF
Self service BI with sql server 2008 R2 and microsoft power pivot short
Eduardo Castro
 
PDF
Using T-SQL
Antonios Chatzipavlis
 
PDF
An overview of microsoft data mining technology
Mark Tabladillo
 
PPTX
Business Intelligence For It Professionals Part 2 Seamless Data Integration 90
Microsoft TechNet
 
PPTX
Sql server briefing sept
Mark Kromer
 
PPTX
Sql server 2012 roadshow masd overview 003
Mark Kromer
 
PDF
Sqlref
Enida Zhapa
 
PDF
MS Business Intelligence with SQL Server 2005
sandip1004
 
PDF
Driving BI with SQL Server 2008
Dan English
 
PDF
An overview of Microsoft data mining technology
Mark Tabladillo
 
PPTX
Bi For It Professionals Part 3 Building And Querying Multidimensional Cubes
Microsoft TechNet
 
SQL Server Workshop for Developers - Visual Studio Live! NY 2012
Andrew Brust
 
Microsoft India – SQL Server 2008 R2 Datasheet
Microsoft Private Cloud
 
DesignMind SQL Server 2008 Migration
Mark Ginnebaugh
 
SSDT Workshop @ SQL Bits X (2012-03-29)
Gert Drapers
 
6232 b 01
stamal
 
Microsoft SQL Server 2012
Dhiren Gala
 
SQL Server 2008 Migration
Mark Ginnebaugh
 
SQL Server 2008 Highlights
Intergen
 
Sql server licensing_guide_partneredn_v1-1
guestd54e35
 
Self service BI with sql server 2008 R2 and microsoft power pivot short
Eduardo Castro
 
Using T-SQL
Antonios Chatzipavlis
 
An overview of microsoft data mining technology
Mark Tabladillo
 
Business Intelligence For It Professionals Part 2 Seamless Data Integration 90
Microsoft TechNet
 
Sql server briefing sept
Mark Kromer
 
Sql server 2012 roadshow masd overview 003
Mark Kromer
 
Sqlref
Enida Zhapa
 
MS Business Intelligence with SQL Server 2005
sandip1004
 
Driving BI with SQL Server 2008
Dan English
 
An overview of Microsoft data mining technology
Mark Tabladillo
 
Bi For It Professionals Part 3 Building And Querying Multidimensional Cubes
Microsoft TechNet
 
Ad

More from CTE Solutions Inc. (20)

PPTX
Java 8 - New Updates and Why It Matters?
CTE Solutions Inc.
 
PPTX
Understanding Lean IT
CTE Solutions Inc.
 
PDF
Understanding Lean IT
CTE Solutions Inc.
 
PDF
Exchange @ The Core with CTE Solutions
CTE Solutions Inc.
 
PDF
Microsoft SharePoint in the Workplace
CTE Solutions Inc.
 
PPTX
Ba why development projects fail
CTE Solutions Inc.
 
PDF
Prince2 & PMBOK Comparison Demystified
CTE Solutions Inc.
 
PPTX
Development Projects Failing? What can the Business Analyst Do?
CTE Solutions Inc.
 
PPS
Risk Management using ITSG-33
CTE Solutions Inc.
 
PPTX
Project Management Essentials: Stakeholder Management
CTE Solutions Inc.
 
PDF
Canadian Cloud Webcast from CTE Solutions part of Smarter Everyday Project
CTE Solutions Inc.
 
PDF
Top 5 Mistakes during ITIL implementations by CTE Solutions
CTE Solutions Inc.
 
PDF
Business and ITSM on the same page at last! ITIL, TOGAF and COBIT working to...
CTE Solutions Inc.
 
PDF
What's New for Developers in SharePoint 2013
CTE Solutions Inc.
 
PPTX
What's New for IT Professionals in SharePoint Server 2013
CTE Solutions Inc.
 
PDF
The Many A's in Entperise Architecture: Archaeology, Anthropology, Analysis a...
CTE Solutions Inc.
 
PPTX
Hyper-v for Windows Server 2012 Live Migration
CTE Solutions Inc.
 
PDF
The future of agile in organizations
CTE Solutions Inc.
 
PDF
IIBA Ottawa Kick-Off Meeting: Change Management with Sandee Vincent
CTE Solutions Inc.
 
PDF
Session 3 - Windows Server 2012 with Jared Thibodeau
CTE Solutions Inc.
 
Java 8 - New Updates and Why It Matters?
CTE Solutions Inc.
 
Understanding Lean IT
CTE Solutions Inc.
 
Understanding Lean IT
CTE Solutions Inc.
 
Exchange @ The Core with CTE Solutions
CTE Solutions Inc.
 
Microsoft SharePoint in the Workplace
CTE Solutions Inc.
 
Ba why development projects fail
CTE Solutions Inc.
 
Prince2 & PMBOK Comparison Demystified
CTE Solutions Inc.
 
Development Projects Failing? What can the Business Analyst Do?
CTE Solutions Inc.
 
Risk Management using ITSG-33
CTE Solutions Inc.
 
Project Management Essentials: Stakeholder Management
CTE Solutions Inc.
 
Canadian Cloud Webcast from CTE Solutions part of Smarter Everyday Project
CTE Solutions Inc.
 
Top 5 Mistakes during ITIL implementations by CTE Solutions
CTE Solutions Inc.
 
Business and ITSM on the same page at last! ITIL, TOGAF and COBIT working to...
CTE Solutions Inc.
 
What's New for Developers in SharePoint 2013
CTE Solutions Inc.
 
What's New for IT Professionals in SharePoint Server 2013
CTE Solutions Inc.
 
The Many A's in Entperise Architecture: Archaeology, Anthropology, Analysis a...
CTE Solutions Inc.
 
Hyper-v for Windows Server 2012 Live Migration
CTE Solutions Inc.
 
The future of agile in organizations
CTE Solutions Inc.
 
IIBA Ottawa Kick-Off Meeting: Change Management with Sandee Vincent
CTE Solutions Inc.
 
Session 3 - Windows Server 2012 with Jared Thibodeau
CTE Solutions Inc.
 

Recently uploaded (20)

PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PPTX
Digital Circuits, important subject in CS
contactparinay1
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PDF
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
PDF
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PPTX
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Digital Circuits, important subject in CS
contactparinay1
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 

Session 2: SQL Server 2012 with Christian Malbeuf

  • 1. Module 1: Introduction to SQL Server 2012 CTE Ottawa Seminar Day September 7th, 2012
  • 2. Module Overview • Enterprise Data Scenarios and Trends • SQL Server 2012 Overview
  • 3. Lesson 1: Enterprise Data Scenarios and Trends • Common Data Workloads • Key Trend – Mission-Critical Data • Key Trend – Self-Service Business Intelligence • Key Trend – Big Data • Key Trend – Cloud Technologies • Key Trend – Appliances
  • 4. Common Data Workloads Business Intelligence (BI) Data Warehousing (DW) Enterprise Integration Management (EIM) Online Transaction Processing (OLTP)
  • 5. Key Trend – Mission-Critical Data • High availability • Fast, up-to-the-minute data recoverability
  • 6. Key Trend – Self-Service Business Intelligence • Empower information workers • Reduce IT workload
  • 7. Key Trend – Big Data • Large volumes of data • Many data sources • Diverse data formats
  • 8. Key Trend – Cloud Technologies • Public Cloud • Private Cloud • Hybrid Solutions
  • 9. Key Trend – Appliances • Pre-configured hardware and software solutions • Optimized for specific workloads • Generally purchased from a single supplier with a single support package
  • 10. Lesson 2: SQL Server 2012 Overview • SQL Server 2012 Editions • SQL Server 2012 Components • SQL Server 2012 and Other Microsoft Technologies • SQL Server 2012 Licensing
  • 11. SQL Server 2012 Editions Premium Editions Parallel Data Warehouse Enterprise Core Editions Business Intelligence Standard Other Editions Express Compact Developer SQL Azure Web
  • 12. SQL Server 2012 Components • Not just a database engine • Relational and Business Intelligence Components SQL Server Components Database Engine Analysis Services Integration Services Reporting Services Master Data Services StreamInsight Data Mining Full-Text Search PowerPivot Replication Data Quality Services Power View
  • 13. SQL Server 2012 and Other Microsoft Technologies Product Relationship to SQL Server Microsoft Windows Server The operating system on which SQL Server is installed Microsoft SharePoint Server A Web platform for collaboration through which users can access SQL Server Reporting Services, PowerPivot, and Power View Microsoft System Center A suite of technologies for provisioning and managing server infrastructure. SQL Server can be deployed on virtual servers in a private cloud and managed by System Center Microsoft Office An information worker productivity suite that provides an intuitive way for users to consume SQL Server BI technologies and manage master data models The .NET Framework A software development runtime that includes class libraries for creating applications that interact with data in a SQL Server database Windows Azure A cloud platform for developing applications that can leverage cloud-based databases and reporting
  • 14. SQL Server 2012 Licensing • Core-based Licensing – licensing by computing power • Server + CAL Licensing – licensing by user • Virtual Machine Licensing – licensing VMs Edition Licensing Model Server + CAL Core-based Enterprise  Business Intelligence  Standard  
  • 15. Module Review • Enterprise Data Scenarios and Trends • SQL Server 2012 Overview Learn more at www.microsoft.com/sqlserver
  • 16. Module 2: SQL Server 2012 as a Platform for Mission-Critical Data CTE Ottawa Seminar Day September 7th, 2012
  • 17. Module Overview • Database Development Enhancements • Database Manageability Enhancements • Database Availability Enhancements
  • 18. Lesson 1: Database Development Enhancements • Transact-SQL Enhancements • New Functions • Spatial Data Enhancements • Storing and Querying Documents
  • 19. Transact-SQL Enhancements • The WITH RESULT SETS Clause EXECUTE GetOrderPickList 'SO59384' WITH RESULT SETS ( ([SalesOrder] nvarchar(20) NOT NULL,[LineItem] int, [Product] int, [Quantity] int) ) • The THROW Statement THROW 50001, 'Customer doers not exist', 1 • Paging with the OFFSET and FETCH Keywords SELECT SalesOrderNumber, OrderDate, CustomerName FROM SalesOrders ORDER BY SalesOrderNumber ASC OFFSET 20 ROWS FETCH NEXT 10 ROWS ONLY • Sequence Objects CREATE SEQUENCE OrderNumbers START WITH 1000 INCREMENT BY 10 ... CREATE TABLE Orders (OrderNumber int PRIMARY KEY DEFAULT(NEXT VALUE FOR OrderNumbers), CustomerKey int, ProductKey int, Quantity int) • The OVER Clause SELECT City, OrderYear, OrderQuantity, SUM(OrderQuantity) OVER (PARTITION BY City ORDER BY OrderYear ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) AS RunningQty FROM CitySalesByYear
  • 20. Demonstration: Using Transact-SQL Enhancements In this demonstration, you will see how to:  Use the WITH RESULT SETS Clause  Use the THROW Statement  Implement Paging  Use a Sequence Object  Use the OVER Subclause
  • 21. New Functions Conversion Functions PARSE PARSE('£345.98' AS money USING 'en-GB') TRY_PARSE TRY_PARSE('£345.98' AS money USING 'en-US') TRY_CONVERT TRY_CONVERT(int, 'One') Date and Time Functions DATEFROMPARTS DATEFROMPARTS (2010, 12, 31) DATETIMEFROMPARTS DATETIMEFROMPARTS ( 2010, 12, 31, 23, 59, 59, 0 ) SMALLDATETIMEFROMPARTS SMALLDATETIMEFROMPARTS ( 2010, 12, 31, 23, 59 ) DATETIME2FROMPARTS DATETIME2FROMPARTS ( 2010, 12, 31, 23, 59, 59, 1, 7 ) TIMEFROMPARTS TIMEFROMPARTS ( 23, 59, 59, 1, 5 ) DATETIMEOFFSETFROMPARTS DATETIMEOFFSETFROMPARTS(2010,12,31,14,23,23,1,8,0,7) EOMONTH EOMONTH (GETDATE(), 1) Logical Functions CHOOSE CHOOSE (3,'Cash','Credit Card','Debit Card','Invoice') IIF IIF(@i % 2 = 0, 'Even', 'Odd') String Functions CONCAT CONCAT(Firstname, ' ', LastName) FORMAT FORMAT(UnitPrice, 'C', 'en-GB')
  • 22. Demonstration: Using New Functions In this demonstration, you will see how to:  Use Conversion Functions  Use Data and Time Functions  Use Logical Functions  Use String Functions
  • 23. Spatial Data Enhancements • New Spatial Shapes CIRCULARSTRING COMPOUNDCURVE CURVEPOLYGON • Shapes larger than a Hemisphere • New FULLGLOBE Shape
  • 24. Demonstration: Using Spatial Data Enhancements In this demonstration, you will see how to:  Create a CIRCULARSTRING Shape  Create a COMPOUNDCURVE Shape  Create a CURVEPOLYGON Shape  Create a Shape that is Larger than a Hemisphere  Use the FULLGLOBE Shape
  • 25. Storing and Querying Documents CREATE TABLE FileStore AS FileTable WITH (FileTable_Directory = 'Documents') SELECT [name] As FileName FROM FileStore WHERE CONTAINS(PROPERTY(file_stream,'Title'),'Bike OR Cycling') SELECT [name] As FileName FROM FileStore WHERE CONTAINS(file_stream, 'NEAR((bicycle, race), 15)')
  • 26. Demonstration: Working with Documents In this demonstration, you will see how to:  Create a FileTable  Use the NEAR Operator
  • 27. Lesson 2: Database Manageability Enhancements • Management Tool Enhancements • Security Enhancements
  • 28. Management Tool Enhancements • Code Snippets • Enhanced Debugging
  • 29. Demonstration: Using SQL Server Management Studio In this demonstration, you will see how to:  Use Code Snippets  Debug Transact-SQL Code
  • 30. Security Enhancements • User-Defined Server Roles CREATE SERVER ROLE [AGAdmins] AUTHORIZATION [sa]; GRANT ALTER ANY AVAILABILITY GROUP TO [AGAdmins]; GRANT ALTER ANY ENDPOINT TO [AGAdmins]; GRANT CREATE AVAILABILITY GROUP TO [AGAdmins]; GRANT CREATE ENDPOINT TO [AGAdmins]; ALTER SERVER ROLE [AGAdmins] ADD MEMBER [JohnDoe]; • Contained Databases CREATE DATABASE [MyContainedDB] CONTAINMENT = PARTIAL GO USE [MyContainedDB] CREATE USER [SalesAppUser] WITH PASSWORD = 'Pa$$w0rd' GO
  • 31. Demonstration: Using Security Enhancements In this demonstration, you will see how to:  Create a Server Role  Create a Contained Database
  • 32. Lesson 3: Database Availability Enhancements • Backup and Restore Enhancements • AlwaysOn Availability Groups
  • 33. Backup and Restore Enhancements • Point-In-Time Restore • Page Restore
  • 34. Demonstration: Using Backup and Restore Enhancements In this demonstration, you will see how to:  Perform a Point-In-Time Restore
  • 35. AlwaysOn Availability Groups Node3 Windows Cluster Async Node1 (Primary) Node2 (Read-Only) Listener
  • 36. Demonstration: Using AlwaysOn Availability Groups In this demonstration, you will see how to:  Verify Cluster and AlwaysOn Configuration  Perform a Full Database Backup  Create an AlwaysOn Availability Group  View Availability Group Configuration  Connect to an AlwaysOn Availability Group  Use a Readable Secondary Replica  Use a Readable Secondary Replica with a Read-Intent Connection  Perform a Manual Failover  Observe Automatic Failover
  • 37. Module Review • Database Development Enhancements • Database Manageability Enhancements • Database Availability Enhancements For more information, attend the following courses: • 10774A: Querying Microsoft® SQL Server® 2012 • 10775A: Administering Microsoft® SQL Server® 2012 Databases • 10776A: Developing Microsoft® SQL Server® 2012 Databases • 40008A: Updating your Database Skills to Microsoft® SQL Server® 2012
  • 38. Module 3: Enterprise Integration Management and Data Warehousing CTE Ottawa Seminar Day September 7th, 2012
  • 39. Module Overview • SQL Server 2012 Data Quality Services • SQL Server 2012 Master Data Services • SQL Server 2012 Integration Services • SQL Server 2012 for Data Warehousing
  • 40. Lesson 1: SQL Server 2012 Data Quality Services • Overview of SQL Server Data Quality Services • Data Quality Services Knowledge Bases • Data Cleansing • Data Matching
  • 41. Overview of SQL Server Data Quality Services DQS Server • DQS is a knowledge- based solution for: KB  Data Cleansing  Data Matching 1011000110 • DQS Components: DQS Client  Server  Client  Data Cleansing SSIS Data Cleansing Transformation Transformation SSIS
  • 42. Data Quality Services Knowledge Bases • Repository of knowledge about data: KB  Domains define values and rules for each field  Matching policies define rules for identifying duplicate records 1011 000110
  • 43. Demonstration: Creating a Knowledge Base In this demonstration, you will see how to:  Create a Knowledge Base  Perform Knowledge Discovery  Perform Domain Management
  • 44. Data Cleansing 1. Select a knowledge base 2. Map columns to domains 3. Review suggestions and corrections 4. Export results
  • 45. Demonstration: Cleansing Data In this demonstration, you will see how to:  Create a Data Cleansing Project.  View Cleansed Data.
  • 46. Data Matching • Matching Policies • Data Matching Projects
  • 47. Demonstration: Matching Data In this demonstration, you will see how to:  Create a Matching Policy.  Create a Data Matching Project.  View Data Matching Results.
  • 48. Lesson 2: SQL Server 2012 Master Data Services • Overview of SQL Server Master Data Services • Master Data Models • The Master Data Services Add-in for Excel • Implementing a Master Data Hub
  • 49. Overview of SQL Server Master Data Services CRM Customer ID Name Address Phone 1235 Ben Smith 1 High St, Seattle 555 12345  Customer ID Account No Contact No Customer Address Phone Master Data Hub 1235 531 22 Ben Smith 1 High St, Seattle 555 12345 Master Data Services Data Steward Other consumers (e.g. Data Warehouse ETL) Order Processing System Marketing System Account No Customer Address Phone Contact No Name Address Phone 531 Benjamin Smith 1 High St, Seattle 555 12345 22 B Smith 5 Main St, Seattle 555 54321
  • 50. Master Data Models • A versioned data model for Customers Model specific business item or area of the business Version 1 • Contains definitions for Account Type Entity Member entities required in the Attributes: • • Code: 1 Name: Standard business area • • Code (string) Name (string) Member • Code: 2  Often an entity with the same • Name: Premier name as the model, as well as related entities Customer Entity Member • Each entity has a defined set • Code: 1235 Attributes: of attributes • Code (free-form text) • • Name: Ben Smith Address: 1 High St, Seattle • Name (free-form text) • Phone: 555-12345 • Address (free-form text) • AccountType: 1  All entities have Code and • Phone (free-form text) • CreditLimit: 1000 • AccountType (domain-based) Name attributes • CreditLimit (free-form number) Contact Details Attribute Group  Attributes can be categorized in attribute groups • Each instance of an entity is a Version 2 Version 3 known as a member
  • 51. Demonstration: Creating a Master Data Model In this demonstration, you will see how to:  Create a Master Data Model  Create Entities  Create Attributes  Add and Edit Members
  • 52. The Master Data Services Add-in for Excel • Use the Master Data Services Add-In for Excel to connect to a model • Create entities • Add columns to create attributes • Edit entity member data in worksheets • Publish changes to Master Data Services
  • 53. Demonstration: Editing a Model in Microsoft Excel In this demonstration, you will see how to:  View a Master Data Entity in Excel  Add a Member  Add a Free-Form Attribute  Add a Domain-Based Attribute and a Related Entity
  • 54. Implementing a Master Data Hub CRM Master Data Hub Other consumers SSIS (e.g. Data Warehouse ETL) SSIS  SSIS SSIS Order Processing System Data Steward Marketing System • Users insert and update data in application data stores • Application data is loaded into the master data hub via staging tables for consolidation and management by data stewards • Master data flows back to application data stores and other consumers across the enterprise via subscription views
  • 55. Demonstration: Importing and Consuming Master Data In this demonstration, you will see how to:  Use an SSIS Package to Import Data  View Import Status  Create a Subscription View  Query a Subscription View
  • 56. Lesson 3: SQL Server 2012 Integration Services • Overview of SQL Server Integration Services • Extracting Modified Data • Deploying and Managing Integration Services Projects
  • 57. Overview of SQL Server Integration Services • SSIS project:  A versioned container for parameters and packages  A unit of deployment to an SSIS Catalog • SSIS package:  A unit of task flow execution  A unit of deployment (package deployment model) Project Project-level parameter Project-level connection manager Deploy SSIS Catalog Package Package Package-level parameter Package-level parameter Package connection manager Package connection manager Control Flow Package Control Flow Deploy Deployment Data Flow Data Flow Model
  • 58. Extracting Modified Data Initial Extraction Incremental Extraction 1 CDC Control CDC Control 1 Get Processing Range Mark Initial Load Start CDC CDC CDC CDC Source Source State State Data Flow 2 Data Flow Variable Variable 2 CDC Splitter Staged Inserts 3 CDC State Table 3 Staged Staged Staged CDC Control Mark Initial Load End Inserts Updates Deletes 4 CDC Control Mark Processed Range 1. A CDC Control Task records the 1. CDC Control Task establishes the range of starting LSN LSNs to be extracted 2. A data flow extracts all records 2. A CDC Source extracts records and CDC metadata 3. A CDC Control task records the ending LSN 3. Optionally, a CDC Splitter splits the data flow into inserts, updates, and deletes 4. A CDC Control task records the ending LSN
  • 59. Demonstration: Using the CDC Control Task In this demonstration, you will see how to:  Enable Change Data Capture  Perform an Initial Extraction  Extract Modified Records
  • 60. Deploying and Managing Integration Services Projects
  • 61. Demonstration: Deploying an Integration Services Project In this demonstration, you will see how to:  Create an SSIS Catalog  Deploy an SSIS Project  Create Environments and Variables  Run an SSIS Package  View Execution Information
  • 62. Lesson 4: SQL Server 2012 for Data Warehousing • Overview of SQL Server Data Warehousing • Options for SQL Server Data Warehousing • Optimizing Performance with Columnstore Indexes
  • 63. Overview of SQL Server Data Warehousing • A centralized store of business data for reporting and analysis • Typically, a data warehouse:  Contains large volumes of historical data  Is optimized for querying data (as opposed to inserting or updating)  Is incrementally loaded with new business data at regular intervals  Provides the basis for enterprise business intelligence solutions
  • 64. Options for SQL Server Data Warehousing Custom-build Reference Data warehouse architectures appliances
  • 65. Optimizing Performance with Columnstore Indexes Row Store Column Store ProductID OrderDate Cost ProductID OrderDate Cost 310 20010701 2171.29 310 20010701 2171.29 311 … 311 20010701 1912.15 1912.15 312 20010702 312 20010702 2171.29 2171.29 313 … 313 20010702 413.14 413.14 data 314 … page 333.42 1000 315 20010703 1295.00 316 … 4233.14 317 … ProductID OrderDate Cost 318 641.22 … 314 20010701 333.42 24.95 319 … 315 20010701 1295.00 320 20010704 64.32 316 20010702 4233.14 321 … 1111.25 data 317 20010702 641.22 data data data page page page page 1001 2000 2001 2002
  • 66. Demonstration: Using a Columnstore Index In this demonstration, you will see how to:  View Logical Reads for a Query  Create a Columnstore Index  View Performance Improvement
  • 67. Module Review • SQL Server 2012 Data Quality Services • SQL Server 2012 Master Data Services • SQL Server 2012 Integration Services • SQL Server 2012 for Data Warehousing For more information, attend the following courses: • 10777A: Implementing a Data Warehouse with Microsoft® SQL Server® 2012 • 40009A: Updating your Business Intelligence Skills to Microsoft® SQL Server® 2012