 |
|
There are many excellent online courses. This has been hugely beneficial in my day to day work.
|
|
- Louise Nolan
|
|
|
|
|
Microsoft SQL Server 2000; Introduction to Databases and Programming
Course Aims
This course introduces readers to the major topics of databases and programming using Microsoft SQL Server 2000. The reader will learn about system databases, tables, data definition, creating tables, retrieving data, modifying data, indices, data integrity, views, triggers, stored procedures, programmability, distributed data and distributed transactions. Throughout the course there are practical exercises, complete with solutions, to practice what you are learning in the course. |
Assumed Knowledge
As this courses is an introduction to databases and programming using Microsoft SQL Server 2000, no previous knowledge of databases or programming is assumed. |
Course Audience
This course should be useful both to people that are new to SQL Server and to those who have experience with an earlier version. |
|
Table of Contents
|
MS SQL Server 2000 - Introduction
|
Data Modelling Components
|
|
|
|
|
System Databases and Tables
|
|
|
Data Definition
|
Creating a Database Device
|
|
Re-sizing a Database Device
|
|
Creating and Modifying Databases
|
|
Altering the size of a Database
|
|
Decreasing the size of a Database
|
|
Declarative Referential Integrity
|
|
|
|
MS SQL Server Lab 1 - Creating Tables
|
Insert records in the AUTHOR Table
|
|
Insert records in the BOOK Table
|
|
Insert records in the STUDIES Table
|
|
|
|
Retrieving Data
|
Search based on conditions
|
|
Character string based retrieval
|
|
Retrieval based on unknown values
|
|
|
|
Retrieving Data - Advanced Topics
|
Group By and Having Clauses
|
|
Restrictions on Sub Query
|
|
|
|
|
MS SQL Server Lab 2 - Retrieving Data
|
|
|
Modifying Data
|
Inserting Rows through the Select Statement
|
|
Update based on Data from other Tables
|
|
Deleting data using other tables
|
|
|
|
Indices
|
Rules to remember while Indexing
|
|
Sorted_data and Sorted_data_reorg
|
|
|
|
Data Integrity
|
Declarative Referential Integrity
|
|
Binding defaults and rules
|
|
Unbinding and dropping defaults and rules
|
|
|
Views
|
Data Modification through views
|
|
|
|
|
MS SQL Server Lab 3 - Views
|
|
|
Triggers and Stored Procedures
|
Enforcing Data Integrity through Triggers
|
|
Advantages of Stored Procedures
|
|
How to create a Stored Procedure
|
|
Auto Execution of a Stored Procedure
|
|
Stored Procedure - Example
|
|
Stored Procedure - Solution
|
|
|
|
Programmability Page
|
User defined Transactions
|
|
Rollback and Save Transaction
|
|
How to create and use cursors
|
|
When and when not to use cursors
|
|
|
|
Distributed Data
|
Need For Distributed Data
|
|
Implementing Remote Stored Procedures
|
|
Server roles in Replication
|
|
Publication Server or Publisher
|
|
Distribution Server or Distributor
|
|
Subscription Server or Subscriber
|
|
Central Publisher using remote distributor
|
|
Multiple Publishers of one table
|
|
|
|
Distributed Transactions In Transact -SQL
|
Structure of Transact-SQL
|
|
Distributed Transactions Architecture
|
|
Required Transact-SQL Statements
|
|
Starting Distributed Transactions
|
|
Remote Stored Procedure Architecture
|
|
Remote Stored Procedure Protocol Optimisations
|
|
The Rowset functions - Usage
|
|
|
|
Distributed Transactions
|
Distributed Queries and Distributed Transactions
|
|
BEGIN DISTRIBUTED TRANSACTION
|
|
Commit a nested transaction
|
|
SET REMOTE_PROC_TRANSACTIONS
|
|
|
|
|
Lab Exercise For Transact -SQL
|
|
|
|
|