Implementing A Microsoft SQL Server 2008 Database [ 5 days ]
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.
Lessons
Creating Databases
Creating Filegroups
Creating Schemas
Creating 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.
Lessons
Creating Data Types
Creating Tables
Creating Partitioned Tables
Module 3: Creating and Tuning Indexes
The students will learn how to plan, create, and optimize indexes to attain optimal performance
benefits.
Lessons
Planning Indexes
Creating Indexes
Optimizing Indexes
[Link]
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.
Lessons
Data Integrity Overview
Implementing Constraints
Implementing 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.
Lessons
Using the XML Data Type
Retrieving XML by Using FOR XML
Shredding XML by Using OPENXML
Introducing XQuery
Creating XML Indexes
Implementing XML Schemas
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.
Lessons
Introduction to Views
Creating and Managing Views
Optimizing Performance by Using Views
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.
[Link]
Lessons
Implementing Stored Procedures
Creating Parameterized Stored Procedures
Working With Execution Plans
Handling Errors
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.
Lessons
Creating and Using Functions
Working with Functions
Controlling Execution Context
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.
Lessons
Introduction to the SQL Server Common Language Runtime
Importing and Configuring Assemblies
Creating Managed Database Objects
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.
Lessons
Overview of Transactions and Locks
Managing Transactions
Understanding SQL Server Locking Architecture
Managing Locks
Module 11: Using Service Broker
The students will learn to use Service Broker to create secure, reliable, and scalable applications.
Lessons
[Link]
Service Broker Overview
Creating Service Broker Objects
Sending and Receiving Messages.
[Link]