16
 Module Presenter’s Manual for Curriculum Code: 373 Effective from: June, 2011 Ver. 1.0 

373_Module PM_DB Dev MS SQL Server_v1.0

Embed Size (px)

Citation preview

8/3/2019 373_Module PM_DB Dev MS SQL Server_v1.0

http://slidepdf.com/reader/full/373module-pmdb-dev-ms-sql-serverv10 1/16

 

ModulePresenter’s Manual 

for 

Curriculum Code: 373

Effective from: June, 2011

Ver. 1.0 

8/3/2019 373_Module PM_DB Dev MS SQL Server_v1.0

http://slidepdf.com/reader/full/373module-pmdb-dev-ms-sql-serverv10 2/16

  © 2011 Aptech Limited 

Amendment Record

Version No. Effective Date Change Replaced Pages1.0 June 2011 New -

8/3/2019 373_Module PM_DB Dev MS SQL Server_v1.0

http://slidepdf.com/reader/full/373module-pmdb-dev-ms-sql-serverv10 3/16

  © 2011 Aptech Limited 

Table of Contents

Sr.No.

Details PageNo.

1. Introduction 1

2. Information on Module Session Allocation 2

3. Week-wise Session Schedule 3

4. Session Coverage 5

5. Library References 13

8/3/2019 373_Module PM_DB Dev MS SQL Server_v1.0

http://slidepdf.com/reader/full/373module-pmdb-dev-ms-sql-serverv10 4/16

  Presenter’s Manual Database Development in Microsoft SQL Server

Issue Date: June, 2011  © 2011 Aptech Limited  Page 1 of 13

Ver.1.0

1. Introduction

At the end of this course, students will be able to:

  Define a Database Management System.  Define and Explain RDBMS.

  Explain E-R diagrams.  Explain the various normal forms.

  Describe SQL Server 2005 and its features.  Describe DDL, DML and DCL commands in SQL Server 2005.

  Describe the system and user-defined databases in SQL Server 2005.

  Describe database snapshots.

  Describe SELECT statement.

  Define data types and list the categories in SQL Server 2005.

  Describe how to create tables.

  Describe how to work with typed and untyped XML.  Describe subqueries and joins.

  Describe the data platform vision. 

Describe the new features in SQL Server 2008.  Explain the dynamic development in SQL Server 2008.

  Describe the pervasive insight feature in SQL Server 2008.

  Describe analysis services of SQL Server 2008.

  Describe integration services of SQL Server 2008.  Describe reporting services of SQL Server 2008.

  Explain Intellisense in SQL Server 2008.  Explain Multi-Server query feature.

  Explain the concept of Query Editor regions.

  State the new features of Object Explorer.  Describe Activity Monitor.  Describe the process of declaring variables.

  Explain the new data types in SQL Server 2008.

  Describe sparse columns.  Explain the concept of wide tables.

  Describe spatial data types.

  Explain the hierarchyid data type.  Explain the new enhancements in the CONVERT() function.  Describe the enhancements to date functions.

  Explain the new XQuery functions.

  Describe compound assignment operators.  State the usage of table value constructors.

  Explain table-valued parameters.

  Explain the working of MERGE statement.  Describe grouping sets in SQL Server 2008.  Describe XML schema enhancements.

  Explain XQuery support.  Describe the enhancements in XML DML.  Define and describe data integrity.

  Explain integrity constraints.

  Explain the various types of indexes.  State the need for indexes.  Describe the clustered index structures and state their uses.

  Define online index operations.  Explain XML indexes.

8/3/2019 373_Module PM_DB Dev MS SQL Server_v1.0

http://slidepdf.com/reader/full/373module-pmdb-dev-ms-sql-serverv10 5/16

  Presenter’s Manual Database Development in Microsoft SQL Server

Issue Date: June, 2011  © 2011 Aptech Limited  Page 2 of 13

Ver.1.0

  Define and explain views.

  Explain how to define stored procedures.

  Describe how to create Transact-SQL stored procedures.  Define Triggers.

  Describe DDL and DML triggers.

8/3/2019 373_Module PM_DB Dev MS SQL Server_v1.0

http://slidepdf.com/reader/full/373module-pmdb-dev-ms-sql-serverv10 6/16

  Presenter’s Manual Database Development in Microsoft SQL Server

Issue Date: June, 2011  © 2011 Aptech Limited  Page 3 of 13

Ver.1.0

2. Information on Session Allocation

Module Theory(No. of Hrs)

Lab(No. of Hrs)

Total(No. of Hrs)

SQL 22 18 40

Throughout this Presenter’s Manual, the module Database Development inMicrosoft SQL Server will be referred to as SQL. 

8/3/2019 373_Module PM_DB Dev MS SQL Server_v1.0

http://slidepdf.com/reader/full/373module-pmdb-dev-ms-sql-serverv10 7/16

  Presenter’s Manual Database Development in Microsoft SQL Server

Issue Date: June, 2011  © 2011 Aptech Limited  Page 4 of 13

Ver.1.0

3. Week-wise Session Schedule

  A session has duration of 2 hrs.

Wk Day 1 Day 2 Day 3 Day 4

1Session 1

SQL – T1

Session 2

SQL – T2

Session 3

SQL –L1

Session 4

SQL – T3

2Session 5

SQL – L2

Session 6

SQL – T4

Session 7

SQL – L3

Session 8

SQL – T5

3Session 9SQL – L4

Session 10SQL – T6

Session 11SQL – L5

Session 12SQL – T7

4Session 13SQL – T8

Session 14SQL – L6

Session 15SQL – T9

Session 16SQL – L7

5 Session 17SQL – T10 Session 18SQL – L8 Session 19SQL – T11 Session 20SQL – L9

T – Theory Session

L – Lab Session

8/3/2019 373_Module PM_DB Dev MS SQL Server_v1.0

http://slidepdf.com/reader/full/373module-pmdb-dev-ms-sql-serverv10 8/16

  Presenter’s Manual Database Development in Microsoft SQL Server

Issue Date: June, 2011  © 2011 Aptech Limited  Page 5 of 13

Ver.1.0

4. Session Coverage

The table below details out the contents of each session where:

  SG – Student Guide

 XP – PowerPoint Slides

Session No. Session DetailsDeliverables’

Mapping

Session-1 SQL – T1 RDBMS

All the topics as listed below from Session 1 and

Session 2 of RDBMS and Data Management  bookshould be covered in this session.

Session 1 – RDBMS Concepts

  Explain the concept of data and database.

  Describe the approaches to Data

Management.  Define a Database Management System

and list its benefits.

  Explain the different database models.  Define and explain RDBMS.  Describe entities and tables and list the

characteristics of tables.

  List the differences between a DBMS andRDBMS.

Session 2 – E-R Model and Normalization 

 Define and describe data modeling.

  Identify and describe the components of theE-R model.

  Identify the relationships that can be formed

between entities.  Explain what E-R diagrams are and why they

are useful.  Describe an E-R diagram, the symbols used

for drawing and show the various

relationships. Describe the various Normal Forms.

  Outline the uses of different Relational

operators.

SG – Session 1

XP – Session 1

SG – Session 2

XP – Session 2

Session-2 SQL – T2

All the topics as listed below from Session 3 of RDBMS and Data Management  book should becovered in this session.

Session 3 – Overview of SQL Server 2005

  Describe SQL Server 2005 and state its

SG – Session 3XP – Session 3

8/3/2019 373_Module PM_DB Dev MS SQL Server_v1.0

http://slidepdf.com/reader/full/373module-pmdb-dev-ms-sql-serverv10 9/16

  Presenter’s Manual Database Development in Microsoft SQL Server

Issue Date: June, 2011  © 2011 Aptech Limited  Page 6 of 13

Ver.1.0

Session No. Session DetailsDeliverables’

Mapping

features.  Identify the various components under SQL

Server.  Describe two-tier, three-tier and multi-tier

models.  List the system databases under SQL Server

2005.  State the uses of primary, secondary and log

files.  Explain briefly the physical database

architecture.  Explain briefly the relational database engine

architecture. 

Session-3 SQL – L1

All topics from Session 4 (Lab) of RDBMS and Data

Management  book should be covered in thissession.

SG – Session 4

Session-4 SQL – T3

All the topics as listed below from Session 5 of RDBMS and Data Management  book should becovered in this session.

Session 5 – Transact-SQL Language

  Outline the key features of Transact-SQL.  Discuss variables, data types and comments

in Transact-SQL.  Summarize functions and expressions in

Transact-SQL.  Describe Data Definition Language and

identify the commonly used DDL commands.  Describe Data Manipulation Language and

identify the commonly used DML commands.  Explain Data Control Language and identify

commonly used DCL commands.  Describe how to execute Transact-SQL

commands as:  Single Statements

  Batches  Scripts

  List and explain the enhancements inTransact-SQL.

SG – Session 5XP – Session 5

Session-5 SQL – L2

All topics from Session 6 (Lab) of RDBMS and Data

Management  book should be covered in thissession.

SG – Session 6

Session-6 SQL – T4

8/3/2019 373_Module PM_DB Dev MS SQL Server_v1.0

http://slidepdf.com/reader/full/373module-pmdb-dev-ms-sql-serverv10 10/16

  Presenter’s Manual Database Development in Microsoft SQL Server

Issue Date: June, 2011  © 2011 Aptech Limited  Page 7 of 13

Ver.1.0

Session No. Session DetailsDeliverables’

Mapping

All the topics as listed below from Session 7 of RDBMS and Data Management  book should be

covered in this session.

Session 7 – Creating and ManagingDatabases

  Describe the system and user-defineddatabases in SQL Server 2005.

  Outline the key features of the

AdventureWorks sample database.  Describe how to add filegroups and

transaction logs.  List types of database modifications and

describe how to drop a database.  Describe database snapshots. 

SG – Session 7XP – Session 7

Session-7 SQL – L3

All topics from Session 8 (Lab) of RDBMS and Data

Management  book should be covered in this

session.

SG – Session 8

Session-8 SQL – T5

All the topics as listed below from Session 9 of RDBMS and Data Management  book should be

covered in this session.

Session 9 – Accessing Data in a Database

  Describe the SELECT statement, its syntaxand use.

  Explain how to use expressions with SELECT

statement.  Explain the use of various clauses used with

SELECT.  State the use of ORDER BY clause. 

All the topics as listed below from Session 11 of RDBMS and Data Management  book should be

covered in this session.

Session 11 – Creating Tables and Using Data

Types

  Define the data types and list the categoriesin SQL Server 2005.

  Describe how to create, modify and drop

tables in a SQL Server database.  Describe how to add, modify and drop

columns and constraints in a table.  Describe how to work with typed and

SG – Session 9XP – Session 9

SG – Session11

XP – Session

11

8/3/2019 373_Module PM_DB Dev MS SQL Server_v1.0

http://slidepdf.com/reader/full/373module-pmdb-dev-ms-sql-serverv10 11/16

  Presenter’s Manual Database Development in Microsoft SQL Server

Issue Date: June, 2011  © 2011 Aptech Limited  Page 8 of 13

Ver.1.0

Session No. Session DetailsDeliverables’

Mapping

untyped XML.  Explain how to create, use, and view XML

schemas.  Explain how to use XQuery to access XML

data.

Session-9 SQL – L4

All topics from Session 10 (Lab) of  RDBMS and Data Management book should be covered in this

session.

All topics from Session 12 (Lab) of  RDBMS and 

Data Management book should be covered in thissession.

SG – Session10

SG – Session12

Session-10 SQL – T6

All the topics as listed below from Session 13 of RDBMS and Data Management  book should be

covered in this session.

Session 13 – Advanced Query Techniques andJoins

  Explain the UNION, EXCEPT and INTERSECToperators.

  Explain subqueries.  Describe joins.  Describe the various types of joins.

SG–

Session13

XP – Session

13

Session-11 SQL – L5All topics from Session 14 (Lab) of  RDBMS and Data Management book should be covered in this

session.

SG – Session14

Session-12  SQL – T7

All the topics as listed below from Session 1 and

Session 2 of  New Features of SQL Server 2008 Class Notes should be covered in this session.

Session 1 – Getting Started with SQL Server2008

  Describe the data platform vision.  Describe the new features in SQL Server 2008.  Explain the dynamic development in SQL

Server 2008.

  Describe the pervasive insight feature in SQLServer 2008.

  Describe analysis services of SQL Server 2008.

  Describe integration services of SQL Server

Class Notes – 

Session 1XP – Session 1

Class Notes – Session 2

XP–

Session 2

8/3/2019 373_Module PM_DB Dev MS SQL Server_v1.0

http://slidepdf.com/reader/full/373module-pmdb-dev-ms-sql-serverv10 12/16

  Presenter’s Manual Database Development in Microsoft SQL Server

Issue Date: June, 2011  © 2011 Aptech Limited  Page 9 of 13

Ver.1.0

Session No. Session DetailsDeliverables’

Mapping

2008.  Describe reporting services of SQL Server

2008.

  Explain Intellisense in SQL Server 2008.

  Explain Multi-Server query feature.  Explain the concept of Query Editor regions.

  State the new features of Object Explorer.  Describe Activity Monitor.

Session 2 – Transact-SQL Language

  Describe the process of declaring variables.

  Explain the new data types in SQL Server2008.

  Describe sparse columns.

  Explain the concept of wide tables.

  Describe spatial data types.

  Explain the hierarchyid data type.  Explain the new enhancements in the

CONVERT() function.  Describe the enhancements to date functions.

  Explain the new XQuery functions.

  Describe compound assignment operators.

Session-13 SQL – T8

All the topics as listed below from Session 4 of 

New Features of SQL Server 2008 Class Notesshould be covered in this session.

Session 4 – Enhancements in DML and XML

DML

 State the usage of table value constructors. Explain table-valued parameters. Explain the working of MERGE statement. Describe grouping sets in SQL Server 2008. Describe XML schema enhancements. Explain XQuery support. Describe the enhancements in XML DML.

Class Notes – 

Session 4XP – Session 4

Session-14 SQL – L6

All topics from Session 3 (Lab) and Session 5 (Lab)of New Features of SQL Server 2008 Class Notes

should be covered in this session.

Class Notes – Session 3

Session 5

Session-15 SQL – T9

All the concept lessons as listed below from Module

1, Module 2, Module 3, and Module 4 of Workingwith SQL Server DBO Course should be covered inthis session.

CD-ROM

Working withSQL ServerDBO Course

8/3/2019 373_Module PM_DB Dev MS SQL Server_v1.0

http://slidepdf.com/reader/full/373module-pmdb-dev-ms-sql-serverv10 13/16

  Presenter’s Manual Database Development in Microsoft SQL Server

Issue Date: June, 2011  © 2011 Aptech Limited  Page 10 of 13

Ver.1.0

Session No. Session DetailsDeliverables’

Mapping

Module 1 - Introduction to Data Integrity

  Data Integrity

  Types of Data Integrity

  Integrity Constraints

Module 2 – Introduction to Indexes

  Introduction to Indexes

  Index Architecture

  Retrieving Stored Data

  Finding Rows

All the concept lessons as listed below from Module

3 and Module 4 of Working with SQL Server DBOCourse should be covered in this session.

Module 3 – Types of Indexes

  Various Types of Indexes

  Working with Indexes

  Viewing Index Information

Module 4 – Maintaining Indexes

  New Index features

  Optimizing Indexes

Module 1Module 2

Module 3

Module 4

Session-16 SQL – L7

The workshop lessons of Module 1, Module 2,

Module 3, and Module 4 of Working with SQLServer DBO Course should be covered in this

session. 

CD-ROM

Working withSQL Server

DBO Course

Module 1Module 2

Module 3

Module 4Session-17 SQL – T10

All the concept lessons as listed below from Module

5 and Module 6 of Working with SQL Server DBOCourse should be covered in this session.

Module 5 – Implementing Views

  Introduction to Views

CD-ROM

Working withSQL Server

DBO Course

Module 5

Module 6

8/3/2019 373_Module PM_DB Dev MS SQL Server_v1.0

http://slidepdf.com/reader/full/373module-pmdb-dev-ms-sql-serverv10 14/16

  Presenter’s Manual Database Development in Microsoft SQL Server

Issue Date: June, 2011  © 2011 Aptech Limited  Page 11 of 13

Ver.1.0

Session No. Session DetailsDeliverables’

Mapping

  Defining Views

Module 6 – Managing Views

  Exploring CREATE VIEW options

  Modifying data through Views

Session-18 SQL – L8

The workshop lessons of Module 5 and Module 6 of 

Working with SQL Server DBO Course should be

covered in this session.

CD-ROM

Working with

SQL ServerDBO Course

Module 5

Module 6

Session-19 SQL – T11

All the concept lessons as listed below from Module

7, Module 8, and Module 9 of Working with SQLServer DBO Course should be covered in this

session.

Module 7 – Introducing Stored Procedures

  Stored procedures

  Create and execute stored procedures

Module 8 – More about Stored Procedures

  Viewing information

  Modifying and Dropping Stored Procedures

  Working with Stored Procedures

Module 9 – Introduction to Triggers

  Introduction to Triggers

  Creating DML Triggers

  Working with DML Triggers

  Working with DDL Triggers

CD-ROM

Working withSQL Server

DBO Course

Module 7Module 8

Module 9

Session-20 SQL – L9

The workshop lessons of Module 7, Module 8, andModule 9 of Working with SQL Server DBO Course 

should be covered in this session.

CD-ROMWorking with

SQL Server

DBO Course

Module 7

8/3/2019 373_Module PM_DB Dev MS SQL Server_v1.0

http://slidepdf.com/reader/full/373module-pmdb-dev-ms-sql-serverv10 15/16

  Presenter’s Manual Database Development in Microsoft SQL Server

Issue Date: June, 2011  © 2011 Aptech Limited  Page 12 of 13

Ver.1.0

Session No. Session DetailsDeliverables’

Mapping

Module 8 Module 9

8/3/2019 373_Module PM_DB Dev MS SQL Server_v1.0

http://slidepdf.com/reader/full/373module-pmdb-dev-ms-sql-serverv10 16/16

  Presenter’s Manual Database Development in Microsoft SQL Server

Issue Date: June, 2011  © 2011 Aptech Limited  Page 13 of 13

Ver.1.0

5. Library References

  Microsoft SQL Server 2008 T-SQL Fundamentals (PRO-Developer) (Paperback)

by Itzik Ben-gan

  Programming Microsoft SQL Server 2008 (PRO-Developer) (Perfect Paperback)by Leonard Lobel, Andrew J. Brust, Stephen Forte

~~~ End of Document ~~~