English French German Italian Portuguese Russian Spanish


  • Database Training

    databaseInterSource offers live instructor-led courses on all important database programming technologies, including Crystal Reports, Microsoft Access, MySQL, Oracle, SQL, SQL Server, SSAS, SSIS, SSRS and Xcelsius.

    These live classes are offered both on client sites, at our Geneva training center, and via a Web interface.

  • About Database

    A database is a collection of data stored and maintained for one or more uses. Most modern databases are managed by a Database Management System (DBMS), a set of computer programs that controls the creation, maintenance, and the use of the database with computer as a platform or of an organization and its end users. It allows organizations to place control of organization-wide database development in the hands of database administrators (DBAs) and other specialists.

    The proper integration of databases can dramatically increase the functionality of all types of applications, whether or not Web-enabled.

    Read More
  • Course Details Database

    Classes are offered at client sites, at our Geneva training center, and via a live web conference. For detailed course outlines and scheduled classes, please see below.

    To book training, navigate to the course you need, then:

    • For scheduled online classes, register from the choices indicated.
    • If you need an alternative dates, time or location, or if you want a live classroom course, click on “request an offer for this course,” to complete the form.

    InterSource clients are active globally. Live web courses run during Eastern Standard Time (New York) business hours and are priced in US dollars.

    We also run live web conference classes during European business hours, which can be invoiced in local currencies. To discuss your requirements please contact us on +41 (22) 958 0114.

MOC 10776 - Developing Microsoft SQL Server 2012 Databases

 PDF PrintEmail

Course duration

  • 5 Days

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.

  • Learn the entire SQL Server platform and its major tools. It will cover editions, versions, basics of network listeners, and concepts of services and service accounts.
  • Learn to determine appropriate data types to be used when designing tables, convert data between data types, and create alias data types.
  • Learn to be aware of good design practices regarding SQL Server tables and be able to create tables using T-SQL. (Note: partitioned tables are not covered).
  • Learn to implement PRIMARY KEY, FOREIGN KEY, DEFAULT, CHECK and UNIQUE constraints, and investigate cascading FOREIGN KEY constraints.
  • Learn to determine appropriate single column and composite indexes strategies.
  • Learn to create tables as heaps and tables with clustered indexes. Also consider the design of a table and suggest an appropriate structure.
  • Learn to read and interpret details of common elements from execution plans.
  • Learn to design effective non-clustered indexes.
  • Learn to design and implement views
  • Learn to design and implement stored procedures.
  • Learn to work with table types, table valued parameters and use the MERGE statement to create stored procedures that update data warehouses.
  • Learn to design and implement functions, both scalar and table-valued. (Also describe where they can lead to performance issues).
  • Learn to perform basic investigation of a deadlock situation and learn how transaction isolation levels affect application concurrency.
  • Learn to sse both traditional T-SQL error handling code and structured exception handling.
  • Learn to design and implement DML triggers
  • Learn appropriate uses for SQL CLR integration and implement an existing .NET assembly within SQL Server.
  • Learn to store XML data and schemas in SQL Server.
  • Learn to perform basic queries on XML data in SQL Server.
  • Learn to work with the GEOGRAPHY and GEOMETRY data types
  • Learn to implement and query a full-text index.
  • Knowledge of writing T-SQL queries.
  • Knowledge of basic relational database concepts.
  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.