|
Creating and Managing Databases
This
module describes how to create a database, set database options,
create filegroups, and manage a database and the transaction
log. It reviews disk space allocation and how the transaction
log records data modifications.
•
Defining Databases
• Using Filegroups
• Managing Databases
Creating Data Types and Tables
This
module describes how to create data types and tables and
generate Transact-SQL scripts containing statements that create
a database and its objects.
•
Working with Data Types
• Working with Tables
• Generating Column Values
• Generating Scripts
Implementing Data Integrity
This
module shows how centrally-managed data integrity is a benefit
of relational databases. Beginning with an introduction to data
integrity concepts, including the methods available for
enforcing data integrity, the module then introduces a section
on constraints, the key method of ensuring data integrity. The
module discusses the creation, implementation, and disabling of
constraints and discusses how defaults and rules are an
alternate way to enforce data integrity. The module concludes by
comparing different data integrity methods.
•
Introducing Data Integrity
• Defining Constraints
• Understanding Constraint Types
• Disabling Constraints
• Using Defaults and Rules
• Deciding Which Enforcement Method to Use
Planning Indexes
This
module provides students with an overview of planning indexes.
It explains how database performance can be improved with
indexes; how clustered and non-clustered indexes are stored in
SQL Server and how SQL Server retrieves rows by using indexes;
and explores how SQL Server maintains indexes. The module
concludes with guidelines for deciding which columns to index.
•
Introducing Indexes
• Understanding Index Architecture
• Retrieving Stored Data with SQL Server
• Maintaining Index and Heap Structures in SQL Server
• Deciding Which Columns to Index
Creating and Maintaining Indexes
This
module provides students with an overview of using the CREATE
INDEX options to create and maintain indexes. It describes how
maintenance procedures physically change the indexes; discusses
maintenance tools; describes the use of statistics in
SQL Server; and describes ways to verify that indexes are used
and whether they perform optimally. The module concludes with a
discussion of when to use the Index Tuning Wizard.
•
Creating Indexes
• Understanding Index Creation Options
• Maintaining Indexes
Implementing Views
This
module defines views and their advantages, showing how views
provide the ability to store a predefined query as an object in
the database for later use. Views also offer a convenient way to
hide sensitive data and the complexities of a database design
and to provide a set of information without requiring the user
to write or execute Transact-SQL statements. The module
describes creating views and provides examples of how to include
computed columns and built-in functions in the view definitions.
The module then covers restrictions on modifying data through
views. The last section discusses how views can improve
performance.
•
Introducing Views
• Defining and Using Views
• Using Views to Optimize Performance
Implementing Stored Procedures
This
module describes how to use stored procedures to improve
application design and performance by encapsulating business
rules. It discusses ways to process common queries and data
modifications, and provides numerous examples and demonstrations
of stored procedures.
•
Introducing Stored Procedures
• Creating, Modifying, Dropping, and Executing Stored
Procedures
Implementing User-Defined Functions
This
module discusses the implementation of user-defined functions.
It explains the three types of user-defined functions and the
general syntax for creating and altering them, and provides an
example of each type.
•
Introducing User-Defined Functions
• Implementing User-Defined Functions
Implementing Triggers
This
module shows that triggers are useful tools for database
implementers who want certain actions to be performed whenever
data is inserted, updated, or deleted from a specific table.
Triggers are especially useful tools for cascading changes
throughout other tables in the database while preserving complex
referential integrity.
•
Introducing Triggers
• Creating, Altering, and Dropping Triggers
• Working with Triggers
• Implementing Triggers
Programming across Multiple Servers
This
module provides students with information on how to design
security for a multi-server environment. It also explains the
construction of distributed queries, distributed transactions,
and partitioned views.
•
Introducing Distributed Queries
• Setting Up a Linked Server Environment
• Working with Linked Servers
• Using Partitioned Views
Optimizing Query Performance
This
module provides students with an in-depth look at how the query
optimizer works, how to obtain query plan information, and how
to implement indexing strategies
•
Introducing the Query Optimizer
• Tuning Performance Using SQL Utilities
• Using an Index to Cover a Query
• Overriding the Query Optimizer
• Understanding Indexing Strategies and Guidelines
Performing Advance Query Analysis
This
module describes how the query optimizer evaluates and processes
queries that contain the AND operator, the OR operator, and join
operations.
•
Analyzing Queries That Use the AND and OR Operator
• Analyzing Queries That Use Join Operations
Managing Transactions and Locks
This
module discusses how transactions and locks ensure transaction
integrity to accommodate multiple users. The module continues
with a discussion of how transactions are executed and rolled
back. A short animation helps to convey how transaction
processing works. The module next describes how SQL Server locks
maintain data consistency and concurrency. The module then
introduces resources that can be locked, the different types of
locks, and lock compatibility. A discussion follows on
SQL Server dynamic locking based on schema and query. The final
section describes locking options, discusses deadlocks, and
explains how to display information on active locks.
•
Introducing Transactions and Locks
• Managing Transactions
• Understanding SQL Server Locking Architecture
• Managing Locks
|