MOC 10776 - Developing Microsoft SQL Server 2012 Databases

Print

Request an offer for classroom delivery of this course

Register for a Live Web Conference Course

Course duration

Course Outline

This Microsoft SQL Server 2012 Database training introduces SQL Server Denali and describes logical table design, indexing and query plans. It also focusses on the creation of database objects including views, stored procedures, along with parameters, and functions. Other common aspects of procedure coding, such as transactions, concurrency, error handling, triggers, and SQL CLR are also covered in this course.

The primary audience for this course is IT Professionals who want to become skilled on SQL Server Denali product features and technologies for implementing a database.

  1. Introduction to SQL Server 2012 and its Toolset
    1. Introduction to the SQL Server Platform
    2. Working with SQL Server Tools
    3. Configuring SQL Server Services
    4. Lab: Introduction to SQL Server and its Toolset
      1. Verifying SQL Server Component Installation
      2. Altering Service Accounts for New Instance
      3. Enabling Named Pipes Protocol for Both Instances
      4. Creating an Alias for AdvDev
      5. Ensuring SQL Browser is Disabled and Configure a Fixed TCP/IP Port (Only if time permits
  2. Working with Data Types
    1. Using Data Types
    2. Working with Character Data
    3. Converting Data Types
    4. Specialized Data Types
    5. Lab: Working with Data Types
      1. Choosing Appropriate Data Types
      2. Writing Queries With Data Type Conversions
      3. Designing and Creating Alias Data Types (Only if time permits)
  3. Designing and Implementing Tables
    1. Designing Tables
    2. Working with Schemas
    3. Creating and Altering Tables
    4. Lab: Designing and Implementing Tables
      1. Improving the Design of Tables
      2. Creating a Schema
      3. Creating the Tables
  4. Ensuring Data Integrity through Constraints
    1. Enforcing Data Integrity
    2. Implementing Domain Integrity
    3. Implementing Entity and Referential Integrity
    4. Lab: Ensuring Data Integrity through Constraints
      1. Designing Constraints
      2. Testing the constraints
  5. Planning for SQL Server 2012 Indexing
    1. Core Indexing Concepts
    2. Data Types and Indexes
    3. Single Column and Composite Indexes
    4. Lab: Planning for SQL Server Indexing
      1. Exploring existing index statistics
      2. Designing column orders for indexes
  6. Implementing Table Structures in SQL Server 2012
    1. SQL Server Table Structures
    2. Working with Clustered Indexes
    3. Designing Effective Clustered Indexes
    4. Lab: Implementing Table Structures in SQL Server
      1. Creating Tables as Heaps
      2. Creating Tables with Clustered Indexes
      3. Comparing the Performance of Clustered Indexes vs. Heaps
  7. Reading SQL Server 2012 Execution Plans
    1. Execution Plan Core Concepts
    2. Common Execution Plan Elements
    3. Working with Execution Plans
    4. Lab: Reading SQL Server Execution Plans
      1. Actual vs. Estimated Plans
      2. Identifying Common Plan Elements
      3. Querying Cost Comparison
  8. Improving Performance through Nonclustered Indexes
    1. Designing Effective Nonclustered Indexes
    2. Implementing Nonclustered Indexes
    3. Using the Database Engine Tuning Advisor
    4. Lab: Improving Performance through Nonclustered Indexes
      1. Nonclustered index usage review
      2. Improving nonclustered index designs
      3. Working with SQL Server Profiler and Database Engine Tuning Advisor
      4. Designing nonclustered index
  9. Designing and Implementing Views
    1. Introduction to Views
    2. Creating and Managing Views
    3. Performance Considerations for Views
    4. Lab: Designing and Implementing Views
      1. Designing, Implementing and Testing the WebStock Views
      2. Designing and Implementing the Contacts View
      3. Modifying the AvailableModels View
  10. Designing and Implementing Stored Procedures
    1. Introduction to Stored Procedures
    2. Working With Stored Procedures
    3. Implementing Parameterized Stored Procedures
    4. Controlling Execution Context
    5. Lab: Designing and Implementing Stored Procedures
      1. Creating stored procedures
      2. Creating a parameterized stored procedure
      3. Altering the execution context of stored procedures
  11. Merging Data and Passing Tables
    1. Using the MERGE Statement
    2. Implementing Table Types
    3. Using TABLE Types As Parameters
    4. Lab: Passing Tables and Merging Data
      1. Creating a Table Type
      2. Using a Table Type Parameter
      3. Using a Table Type with MERGE
  12. Designing and Implementing User-Defined Functions
    1. Overview of Functions
    2. Designing and Implementing Scalar Functions
    3. Designing and Implementing Table-Valued Functions
    4. Implementation Considerations for Functions
    5. Alternatives to Functions
    6. Lab: Designing and Implementing User-Defined Functions
      1. Formatting Phone Numbers
      2. Modifying an Existing Function
      3. Resolve a Function-related Performance Issue
  13. Creating Highly Concurrent SQL Server 2012 Applications
    1. Introduction to Transactions
    2. Introduction to Locks
    3. Management of Locking
    4. Transaction Isolation Levels
    5. Lab: Creating Highly Concurrent SQL Server Applications
      1. Detecting Deadlockss
      2. Investigating Transaction Isolation Levels
  14. Handling Errors in T-SQL Code
    1. Understanding T-SQL Error Handling
    2. Implementing T-SQL Error Handling
    3. Implementing Structured Exception Handling
    4. Lab: Handling Errors in T-SQL Code
      1. Replacing @@ERROR based error handling with structured exception handling
      2. Adding deadlock retry logic to the stored procedure
  15. Responding to Data Manipulation via Triggers
    1. Designing DML Triggers
    2. Implementing DML Triggers
    3. Advanced Trigger Concepts
    4. Lab: Responding to Data Manipulation via Triggers
      1. Creating and Testing the Audit Trigger
      2. Improving the Audit Trigger
  16. Implementing Managed Code in SQL Server 2012
    1. Introduction to SQL CLR Integration
    2. Importing and Configuring Assemblies
    3. Implementing SQL CLR Integration
    4. Lab: Designing and Implementing Views
      1. Assessing Proposed CLR Code
      2. Implementing a CLR Assembly
      3. Implementing a CLR User-defined Aggregate and CLR User-defined Data Type
  17. Storing XML Data in SQL Server 2012
    1. Introduction to XML and XML Schemas
    2. Storing XML Data and Schemas in SQL Server
    3. Implementing the XML Data Type
    4. Lab: Storing XML Data in SQL Server
      1. Appropriate Usage of XML Data Storage in SQL Server
      2. Investigating the Storage of XML Data in Variables
      3. Investigating the use of XML Schema Collections
      4. Investigating the Creation of Database Columns Based on XML
  18. Querying XML Data in SQL Server
    1. Using the T-SQL FOR XML Statement
    2. Getting Started with XQuery
    3. Shredding XML
    4. Lab: Querying XML Data in SQL Server
      1. Learning to query SQL Server data as XML
      2. Writing a stored procedure returning XML
      3. Writing a stored procedure that updates using XML
  19. Working with SQL Server 2012 Spatial Data
    1. Introduction to Spatial Data
    2. Working with SQL Server Spatial Data Types
    3. Using Spatial Data in Applications
    4. Lab: Working with SQL Server Spatial Data
      1. Familiarity With Geometry Data Type
      2. Adding Spatial Data to an Existing Table
      3. Business Application of Spatial Data
  20. Working with Full-Text Indexes and Queries
    1. Introduction to Full-Text Indexing
    2. Implementing Full-Text Indexes in SQL Server
    3. Working with Full-Text Queries
    4. Lab: Working with Full-Text Indexes and Queries
      1. Implementing a full-text index
      2. Implementing a stoplist
      3. Creating a stored procedure to implement a full-text search

InterSource Geneva, a premier Information Technology training firm, offers over 400 different courses on server, database and programming technologies, as well as end-user classes for the most popular office, graphics and design applications. We serve clients in Switzerland (Geneva, Lausanne, Bern, Basel, Zurich) and throughout Europe (France, Germany, Austria, Finland, Sweden, England, Netherlands, Spain, etc.).


InterSource offers custom, private courses at client sites, standard public courses in our Geneva classroom, and online training via live Web conference. Training is offered in English and many other languages (Francais, Deutsch, Espanol, Italiano.)


For an overall view of our offerings, please visit us at www.intersource.ch.