Implementing a Microsoft SQL Server 2008 Database

Prerequisites

Before attending this course, students must have:
  • Basic knowledge of the Microsoft Windows operating system and its core functionality.
  • Working knowledge of Transact-SQL.
  • Working knowledge of relational databases.
  • Some experience with database design.

Course Outline

Module 1: Creating Databases and Database Files

The students will learn one of the most fundamental tasks that a database developer must perform, the creation of a database and its major components, such as creating databases, setting database options, creating filegroups, schemas, and database snapshots.

Module 2: Creating Data Types and Tables

The students will learn about the system-supplied data types in SQL Server 2008. They will learn how to define custom Transact-SQL data types and how to create tables and how to use partitioned tables to organize data into multiple partitions.

Module 3: Creating and Tuning Indexes

The students will learn how to plan, create, and optimize indexes to attain optimal performance benefits.

Module 4: Implementing Data Integrity by Using Constraints and Triggers

The students will learn about implementing data integrity in SQL Server 2008 by using constraints. They will also implement data integrity by using triggers.

Module 5: Using XML

The students will learn how to work with XML, including use of the FOR XML clause, the OPENXML function, XQuery expressions, and the xml native data type. They will learn the considerations to be taken into account when creating XML indexes and the syntax used to create the XML indexes. They will also learn what XML schemas and XML schema collections are as well as how to use them to implement typed XML data.

Module 6: Implementing Views

The students will be introduced to the different types of views available in Microsoft SQL Server 2008 which provide a convenient way to access data through a predefined query.

Module 7: Implementing Stored Procedures

The students will learn the design and implementation of stored procedures to enforce business rules or data consistency, or to modify and maintain existing stored procedures written by other developers.

Module 8: Implementing Functions

The students will learn the design and implementation of user-defined functions that enforce business rules or data consistency, or to modify and maintain existing functions written by other developers.

Module 9: Implementing Managed Code in the Database

The students will learn to use managed code to implement database objects, such as stored procedures, user-defined data types, user-defined functions, and triggers.

Module 10: Managing Transactions and Locks

The students will learn to use transactions and SQL Server locking mechanisms to meet the performance and data integrity requirements of their applications.

Module 11: Using Service Broker

The students will learn to use Service Broker to create secure, reliable, and scalable applications.

At Course Completion

After completing this course, students will be able to:
  • Create databases and database files.
  • Create data types and tables.
  • Use XML-related features in Microsoft SQL Server 2008.
  • Plan, create, and optimize indexes.
  • Implement data integrity in Microsoft SQL Server 2008 databases by using constraints.
  • Implement data integrity in Microsoft SQL Server 2008 by using triggers.
  • Implement views.
  • Implement stored procedures.
  • Implement functions.
  • Implement managed code in the database.
  • Manage transactions and locks.
  • Use Service Broker to build a messaging-based solution.