0% found this document useful (0 votes)
54 views

Mcts SQL Server 2008 DB Dev

This document outlines a 15-day vendor development programme for obtaining the Microsoft Certified Technology Specialist certification in Microsoft SQL Server 2008 database development. The programme consists of 13 modules that cover topics such as installing and configuring SQL Server 2008, maintaining databases, backup and restoration, security, and automation. Upon completing the programme, participants will be prepared to take the exam for the MCTS certification.

Uploaded by

Andrei Pavel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views

Mcts SQL Server 2008 DB Dev

This document outlines a 15-day vendor development programme for obtaining the Microsoft Certified Technology Specialist certification in Microsoft SQL Server 2008 database development. The programme consists of 13 modules that cover topics such as installing and configuring SQL Server 2008, maintaining databases, backup and restoration, security, and automation. Upon completing the programme, participants will be prepared to take the exam for the MCTS certification.

Uploaded by

Andrei Pavel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 22

Vendor Development Programme

Microsoft Certified Technology Specialist: Microsoft SQL Server 2008, Database Development
Total Number of Days: 15 Days

Module 1: Microsoft Certified Technology Specialist: Microsoft SQL Server 2008, Database Development Course Code: 6231 - Maintaining a Microsoft SQL Server 2008 R2 Database Duration: 5 Days

Module 2: Microsoft Certified Technology Specialist: Microsoft SQL Server 2008, Database Development Course Code: 6232 - Implementing a Microsoft SQL Server 2008 R2 Database Duration: 5 days

Module 3: Microsoft Certified Technology Specialist: Microsoft SQL Server 2008, Database Development Course Code: 2778 - Writing Queries Using Microsoft SQL Server 2008 Transact-SQL Duration: 3 days Exam Prep: 1 Day; Exam Day: 1 Day Exam Code: 70-433(TS: Microsoft SQL Server 2008, Database Development)

Prepared by: PSSB-May 2012

Vendor Development Programme


Courses Title Courses Code Durations Maintaining a Microsoft SQL Server 2008 R2 Database 6231 5 Days

Prerequisites 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. Completed Course 2778: Writing Queries Using Microsoft SQL Server 2008 Transact-SQL About this Course This five-day instructor-led course provides students with the knowledge and skills to maintain a Microsoft SQL Server 2008 R2 database. The course focuses on teaching individuals how to use SQL Server 2008 R2 product features and tools related to maintaining a database. Audience Profile The primary audience for this course is individuals who administer and maintain SQL Server databases. This course can also be helpful for individuals who develop applications that deliver content from SQL Server databases. At Course Completion After completing this course, students will be able to: Explain SQL Server 2008 R2 architecture, resources requirements and perform pre-checks of I/O subsystems Plan, install and configure SQL Server 2008 R2 Backup and restore databases Import and export wizards and explain how they relate to SSIS Use BCP and BULK INSERT to import data Manage security Assign, configure fixed database roles and create and assign user defined database roles Configure and assign permissions Implement SQL Server 2008 R2 Audits Manage SQL Server 2008 R2 Agent and Jobs Configure database mails, alerts and notifications Maintain databases Configure SQL Profiler Traces and Use the Database Tuning Advisor Monitor data by using Dynamic Management Views Execute multi-server queries and configure a central management server Deploy a data-tier-application Troubleshoot common issues

Course Outline Module 1: Introduction to SQL Server 2008 R2 and its Toolset
This module introduces you to the entire SQL Server platform and its major tools. This module also covers editions, versions, basics of network listeners, and concepts of services and service accounts. Lessons Introduction to SQL Server Platform
Prepared by: PSSB-May 2012

Vendor Development Programme


Lab: Working with SQL Server Tools Configuring SQL Server Services Introduction to SQL Server 2008 R2 and its Toolset Verify SQL Server Component Installation Alter Service Accounts for New Instance Enable Named Pipes Protocol for Both Instances Create Aliases for AdventureWorks and Proseware Ensure SQL Browser is Disabled and Configure a Fixed TCP/IP Port Describe the SQL Server Platform Work with SQL Server Tools Configure SQL Server Services

Module 2: Preparing Systems for SQL Server 2008 R2


This module covers planning for an installation related to SQL Server I/O requirements, 32 bit vs 64 bit, memory configuration options and I/O subsystem pre-installation checks using SQLIOSim and SQLIO. Lessons Overview of SQL Server 2008 R2 Architecture Planning Server Resource Requirements Pre-installation Testing for SQL Server 2008 R2 Lab: Preparing Systems for SQL Server 2008 R2 Adjust memory configuration Perform Pre-installation Stress Testing Check Specific I/O Operations Describe the SQL Server architecture Plan for server resource requirements Conduct pre-installation stress testing for SQL Server

Module 3: Installing and Configuring SQL Server 2008 R2


This module details installing and configuring SQL Server 2008 R2. Lessons Preparing to Install SQL Server 2008 R2 Installing SQL Server 2008 R2 Upgrading and Automating Installation Lab: Installing and Configuring SQL Server 2008 R2 Review installation requirements Install the SQL Server instance Perform Post-installation Setup and Checks Configure Server Memory Prepare to install SQL Server Install SQL Server Upgrade and automate the installation of SQL Server

Prepared by: PSSB-May 2012

Vendor Development Programme Module 4: Working with Databases


This module describes the system databases, the physical structure of databases and the most common configuration options related to them. Lessons Overview of SQL Server Databases Working with Files and Filegroups Moving Database Files Lab: Working with Databases Adjust tempdb configuration Create the RateTracking database Attach the OldProspects database Add multiple files to tempdb Describe the role and structure of SQL Server databases Work with files and filegroups Move database files within servers and between servers

Module 5: Understanding SQL Server 2008 R2 Recovery Models This module describes the concept of the transaction log and SQL Server recovery models. It introduces the different backup strategies available with SQL Server 2008 R2. Lessons Backup Strategies Understanding SQL Server Transaction Logging Planning a SQL Server Backup Strategy Lab: Understanding SQL Server 2008 R2 Recovery Models Plan a backup strategy Configure recovery models Review recovery models and strategy Describe the critical concepts surrounding backup strategies Explain the transaction logging capabilities within the SQL Server database engine Plan a SQL Server backup strategy

Module 6: Backup of SQL Server 2008 R2 Databases


This module describes SQL Server 2008 R2 Backup and the backup types. Lessons Backing up Databases and Transaction Logs Managing Database Backups Working with Backup Options Lab: Backup of SQL Server 2008 R2 Databases Investigate backup compression Transaction log backup Differential backup Copy only backup Partial backup Back up databases and transaction logs Manage database backups
Prepared by: PSSB-May 2012

Vendor Development Programme


Work with more advanced backup options

Module 7: Restoring SQL Server 2008 R2 Databases


This module describes the restoration of databases Lessons Understanding the Restore Process Restoring Databases Working with Point-in-time Recovery Restoring System Databases and Individual Files Lab: Restoring SQL Server 2008 R2 Databases Determine a restore strategy Restore the database Using STANDBY mode Understand the restore process Restore databases Work with Point-in-time Recovery Restore system databases and individual files

Module 8: Importing and Exporting Data


This module covers the use of the import/export wizards and explains how they relate to SSIS. Also introduces BCP. Lessons Transferring Data To/From SQL Server 2008 R2 Importing & Exporting Table Data Inserting Data in Bulk Lab: Importing and Exporting Data Import the Excel spreadsheet Import the CSV file Create and test an extraction package Compare loading performance Transfer data to and from SQL Server Import and export table data Insert data in bulk and optimize the bulk insert process

Module 9: Authenticating and Authorizing Users


This module covers SQL Server 2008 R2 security models, logins and users. Lessons

Authenticating Connections to SQL Server Authorizing Logins to Access Databases Authorization Across Servers

Lab: Authenticating and Authorizing Users Create Logins Correct an Application Login Issue Create Database Users Correct Access to Restored Database
Prepared by: PSSB-May 2012

Vendor Development Programme


Describe how SQL Server authenticates connections Describe how logins are authorized to access databases Explain the requirements for authorization across servers

Module 10: Assigning Server and Database Roles


This module covers fixed server roles, fixed database roles and user-defined database roles. Lessons

Working with Server Roles Working with Fixed Database Roles Creating User-defined Database Roles

Lab: Assigning Server and Database Roles Assign Server Roles Assign Fixed Database Roles Create and Assign User-defined Database Roles Check Role Assignments Work with server roles Work with fixed database roles Create user-defined database roles

Module 11: Authorizing Users to Access Resources


This module covers permissions and the assignment of permissions. Lessons

Authorizing User Access to Objects Authorizing Users to Execute Code Configuring Permissions at the Schema Level

Lab: Authorizing Users to Access Resources Assign Schema-level Permissions Assign Object-level Permissions Test Permissions Authorize user access to objects Authorize users to execute code Configure permissions at the schema level

Module 12: Auditing SQL Server Environments


This module covers SQL Server Audit. Lessons

Options for Auditing Data Access in SQL Server Implementing SQL Server Audit Managing SQL Server Audit

Lab: Auditing SQL Server Environments Determine audit configuration and create auditCreate server audit specificationsCreate database audit specificationsTest audit functionality Describe the options for auditing data access in SQL Server Implement SQL Server Audit Manage SQL Server Audit

Prepared by: PSSB-May 2012

Vendor Development Programme Module 13: Automating SQL Server 2008 R2 Management
This module covers SQL Server Agent, jobs and job history. Lessons

Automating SQL Server Management Working with SQL Server Agent Managing SQL Server Agent Jobs

Lab: Automating SQL Server 2008 R2 Management Create a Data Extraction Job Schedule the Data Extraction Job Troubleshoot a Failing Job Automate SQL Server Management Work with SQL Server Agent Manage SQL Server Agent jobs

Module 14: Configuring Security for SQL Server Agent


This module covers SQL Server agent security, proxy accounts and credentials. Lessons

Understanding SQL Server Agent Security Configuring Credentials Configuring Proxy Accounts

Lab: Configuring Security for SQL Server Agent Troubleshoot job execution failure Resolve the security issue Perform further troubleshooting Explain SQL Server Agent security Configure credentials Configure Proxy accounts

Module 15: Monitoring SQL Server 2008 R2 with Alerts and Notifications
This module covers the configuration of database mail, alerts and notifications. Lessons

Configuration of Database Mail Monitoring SQL Server Errors Configuring Operators, Alerts and Notifications

Lab: Monitoring SQL Agent Jobs with Alerts and Notifications Configure Database Mail Implement Notifications Implement Alerts Configure database mail Monitor SQL Server errors Configure operators, alerts and notifications

Module 16: Performing Ongoing Database Maintenance


This module covers database maintenance plans.

Prepared by: PSSB-May 2012

Vendor Development Programme


Lessons

Ensuring Database Integrity Maintaining Indexes Automating Routine Database Maintenance

Lab: Ongoing Database Maintenance Check database integrity using DBCC CHECKDB Correct index fragmentation Create a database maintenance plan Investigate table lock performance Ensure database integrity Maintain indexes Automate routine database maintenance

Module 17: Tracing Access to SQL Server 2008 R2


This module covers SQL Profiler and SQL Trace stored procedures. Lessons

Capturing Activity using SQL Server Profiler Improving Performance with the Database Engine Tuning Advisor Working with Tracing Options

Lab: Tracing Access to SQL Server 2008 R2 Capture a trace using SQL Server Profiler Analyze a trace using Database Engine Tuning Advisor Configure SQL Trace Capture activity using SQL Server Profiler Improve performance with the Database Engine Tuning Advisor Work with tracing options

Module 18: Monitoring SQL Server 2008 R2


This module introduces DMVs and the configuration of data collection. Lessons

Monitoring Activity Capturing and Managing Performance Data Analyzing Collected Performance Data

Lab: Monitoring SQL Server 2008 R2 Investigating DMVs Configure Management Data Warehouse Configure Instances for Data Collection Work with Data Collector Reports Monitor current activity Capture and manage performance data Analyze collected performance data

Module 19: Managing Multiple Servers


This module covers Central Management Servers and Multi-Server queries, Virtualization of SQL Server and Data-Tier Applications.

Prepared by: PSSB-May 2012

Vendor Development Programme


Lessons

Working with Multiple Servers Virtualizing SQL Server Deploying and Upgrading Data-Tier Applications

Lab: Managing Multiple Servers Configure CMS and execute multi-server queries Deploy a data-tier application Register and extract a data-tier application Upgrade a data-tier application Work with multiple servers Describe options for virtualizing SQL Server Deploy and upgrade Data-Tier Applications

Module 20: Troubleshooting Common SQL Server 2008 R2 Administrative Issues


This module covers common issues that require troubleshooting and gives guidance on where to start looking for solutions. Lessons

SQL Server Troubleshooting Methodology Resolving Service-related Issues Resolving Concurrency Issues Resolving Login and Connectivity Issues

Lab: Troubleshooting Common Issues Troubleshoot and resolve SQL Server administrative issues Explain SQL Server troubleshooting methodology Resolve service-related issues Resolve concurrency issues Resolve login and connectivity issues

Prepared by: PSSB-May 2012

Vendor Development Programme


Courses Title Courses Code Durations Certification Course 6232 Implementing a Microsoft SQL Server 2008 R2 Database 5 Days Microsoft Certified Technology Specialist

Prerequisites Working knowledge of Transact-SQL (ability to write Transact-SQL queries) or Course 2778A: Writing Queries Using Microsoft SQL Server 2008 Transact-SQL Working knowledge of relational databases (database design skills). Core Windows Server skills. Basic programming language. About this Course This five-day instructor-led course is intended for Microsoft SQL Server database developers who are responsible for implementing a database on SQL Server 2008 R2. In this course, students learn the skills and best practices on how to use SQL Server 2008 R2 product features and tools related to implementing a database server. Audience Profile This course is intended for IT Professionals who want to become skilled on SQL Server 2008 R2 product features and technologies for implementing a database. To be successful in this course, the student should have knowledge of basic relational database concepts and writing T-SQL queries.

Course Outline Module 1: Introduction to SQL Server and its Toolset


This module introduces you to the entire SQL Server platform and its major tools. This module also covers editions, versions, basics of network listeners, and concepts of services and service accounts. Lessons

Introduction to SQL Server Platform Working with SQL Server Tools Configuring SQL Server Services

Lab: Introduction to SQL Server and its Toolset Verifying SQL Server Component Installation Altering Service Accounts for New Instance Enabling Named Pipes Protocol for Both Instances Creating Aliases for AdventureWorks and Proseware Ensuring SQL Browser is Disabled and Configure a Fixed TCP/IP Port After completing this module, students will be able to: Describe the SQL Server Platform. Work with SQL Server Tools. Configure SQL Server Services.

Module 2: Working with Data Types


This module describes the data types supported by SQL Server and how to work with them.

Prepared by: PSSB-May 2012

Vendor Development Programme


Lessons

Using Data Types Working with Character Data Converting Data Types Working with Specialized Data Types

Lab: Working with Data Types Choosing Appropriate Data Types Writing Queries With Data Type Conversions Designing and Creating Alias Data Types After completing this module, students will be able to: Work with data types. Work with character data. Convert between data types. Use specialized data types.

Module 3: Designing and Implementing Tables


This module describes the design and implementation of tables. Lessons

Designing Tables Working with Schemas Creating and Altering Tables

Lab: Designing and Implementing Tables Improving the Design of Tables Creating a Schema Creating the Tables After completing this module, students will be able to: Design tables. Work with schemas. Create and alter tables.

Module 4: Designing and Implementing Views


This module describes the design and implementation of views. Lessons

Introduction to Views Creating and Managing Views Performance Considerations for Views

Lab: Designing and Implementing Views Designing, Implementing and Testing the WebStock Views Designing and Implementing the Contacts View Modifying the AvailableModels View After completing this module, students will be able to: Explain the role of views in database development. Implement views. Describe the performance related impacts of views.
Prepared by: PSSB-May 2012

Vendor Development Programme Module 5: Planning for SQL Server Indexing


This module describes the concept of an index and discusses selectivity, density, and statistics. It covers appropriate data type choices and choices around composite index structures. Lessons

Core Indexing Concepts Data Types and Indexes Single Column and Composite Indexes

Lab: Planning for SQL Server Indexing Exploring Existing Index Statistics Designing Column Orders for Indexes After completing this module, students will be able to: Explain core indexing concepts. Describe the effectiveness of each data type common used in indexes. Plan for single column and composite indexes.

Module 6: Implementing Table Structures in SQL Server


This module covers clustered indexes and heaps. Lessons

SQL Server Table Structures Working with Clustered Indexes Designing Effective Clustered Indexes

Lab: Implementing Table Structures in SQL Server Creating Tables as Heaps Creating Tables with Clustered Indexes Comparing the Performance of Clustered Indexes vs. Heaps After completing this module, students will be able to: Explain how tables can be structured in SQL Server databases. Work with clustered indexes. Design effective clustered indexes

Module 7: Reading SQL Server Execution Plans


This module introduces the concept of reading execution plans. Lessons

Execution Plan Core Concepts Common Execution Plan Elements Working with Execution Plans

Lab: Reading SQL Server Execution Plans Actual vs. Estimated Plans Identify Common Plan Elements Query Cost Comparison After completing this module, students will be able to: Explain the core concepts related to the use of execution plans. Describe the role of the most common execution plan elements.
Prepared by: PSSB-May 2012

Vendor Development Programme

Work with execution plans.

Module 8: Improving Performance through Nonclustered Indexes


This module explains nonclustered indexes, covering indexes and included columns. Lessons

Designing Effective Nonclustered Indexes Implementing Nonclustered Indexes Using the Database Engine Tuning Advisor

Lab: Improving Performance through Nonclustered Indexes Reviewing Nonclustered Index Usage Improving Nonclustered Index Designs Using SQL Server Profiler and Database Engine Tuning Advisor Nonclustered Index Design After completing this module, students will be able to: Design effective nonclustered indexes. Implement nonclustered indexes. Use the Database Engine Tuning Advisor to design indexes.

Module 9: Designing and Implementing Stored Procedures


This module describes the design and implementation of stored procedures. Lessons

Introduction to Stored Procedures Working With Stored Procedures Implementing Parameterized Stored Procedures Controlling Execution Context

Lab: Designing and Implementing Stored Procedures Creating Stored Procedures Creating a Parameterized Stored Procedure Altering the Execution Context of Stored Procedures After completing this module, students will be able to: Describe the role of stored procedures and the potential benefits of using them. Work with stored procedures. Implement parameterized stored procedures. Control the execution context of a stored procedure.

Module 10: Merging Data and Passing Tables


This module covers table types, table valued parameters and the MERGE statement as used in stored procedures. Lessons

Using the MERGE Statement Implementing Table Types Using Table Types as Parameters

Lab: Merging Data and Passing Tables Creating a Table Type


Prepared by: PSSB-May 2012

Vendor Development Programme


Using a Table Type Parameter Using a Table Type with MERGE

After completing this module, students will be able to: Use the MERGE statement. Implement table types. Use TABLE types as parameters.

Module 11: Creating Highly Concurrent SQL Server Applications


This module covers transactions, isolation levels, and designing for concurrency. Lessons

Introduction to Transactions Introduction to Locks Management of Locking Transaction Isolation Levels

Lab: Creating Highly Concurrent SQL Server Applications Detecting Deadlocks Investigating Transaction Isolation Levels After completing this module, students will be able to: Describe the role of transactions. Explain the role of locks. Manage locking. Work with transaction isolation levels.

Module 12: Handling Errors in T-SQL Code


This module describes structured exception handling and gives solid examples of its use within the design of stored procedures. Lessons

Designing T-SQL Error Handling Implementing T-SQL Error Handling Implementing Structured Exception Handling

Lab: Handling Errors in T-SQL Code Replacing @@ERROR Based Error Handling With Structured Exception Handling Adding Deadlock Retry Logic to the Stored Procedure After completing this module, students will be able to: Design T-SQL error handling. Implement T-SQL error handling. Implement structured exception handling.

Module 13: Designing and Implementing User-Defined Functions


This module describes the design and implementation of functions, both scalar and table-valued. Lessons

Designing and Implementing Scalar Functions Designing and Implementing Table-valued Functions Implementation Considerations for Functions
Prepared by: PSSB-May 2012

Vendor Development Programme

Alternatives To Functions

Lab: Designing and Implementing User-Defined Functions Formatting Phone Numbers Modifying an Existing Function Resolving a Function-related Performance Issue After completing this module, students will be able to: Design and implement scalar functions. Design and implement table-valued functions. Describe implementation considerations for functions. Describe alternatives to functions.

Module 14: Ensuring Data Integrity through Constraints


This module describes the design and implementation of constraints. Lessons

Enforcing Data Integrity Implementing Domain Integrity Implementing Entity and Referential Integrity

Lab: Ensuring Data Integrity through Constraints Designing Constraint Testing the Constraints After completing this module, students will be able to: Explain the available options for enforcing data integrity and the levels at which they should be applied. Describe how domain integrity can be maintained. Describe how entity and referential integrity can be maintained.

Module 15: Responding to Data Manipulation via Triggers


This module describes the design and implementation of triggers. Lessons

Designing DML Triggers Implementing DML Triggers Advanced Trigger Concepts

Lab: Responding to Data Manipulation via Triggers Creating the Audit Trigger Improving the Audit Trigger After completing this module, students will be able to: Design DML triggers. Implement DML triggers. Explain advanced DML trigger concepts.

Module 16: Implementing Managed Code in SQL Server


This module describes the implementation of and target use-cases for SQL CLR integration.

Prepared by: PSSB-May 2012

Vendor Development Programme


Lessons

Introduction to SQL CLR Integration Importing and Configuring Assemblies Implementing SQL CLR Integration

Lab: Implementing Managed Code in SQL Server Assessing Proposed CLR Code Implementing a CLR Assembly Implementing a CLR User-defined Aggregate and User-defined Type After completing this module, students will be able to: Explain the importance of SQL Server CLR Integration. Import and configure assemblies. Implement objects that have been created within .NET assemblies.

Module 17: Storing XML Data in SQL Server


This module covers the XML data type, schema collections, typed and untyped columns and appropriate use cases for XML in SQL Server. Lessons

Introduction to XML and XML Schemas Storing XML Data and Schemas in SQL Server Implementing the XML Data Type

Lab: Storing XML Data in SQL Server Appropriate Usage of XML Data Storage in SQL Server Investigating the Storage of XML Data in Variables Investigating the Use of XML Schema Collections Investigating the Creation of Database Columns Based on XML After completing this module, students will be able to: Describe XML and XML schemas. Store XML data and associated XML schemas in SQL Server. Implement the XML data type within SQL Server

Module 18: Querying XML Data in SQL Server


This module covers the basics of FOR XML and XPath Queries. Lessons

Using the T-SQL FOR XML Statement Getting Started with XQuery Shredding XML

Lab: Querying XML Data in SQL Server Learning to Query SQL Server Data as XML Writing a Stored Procedure Returning XML Writing a Stored Procedure that Updates Using XML After completing this module, students will be able to: Use the T-SQL FOR XML statement. Work with basic XQuery queries. Shred XML to a relational form.
Prepared by: PSSB-May 2012

Vendor Development Programme Module 19: Working with SQL Server Spatial Data
This module describes spatial data and how this data can be implemented within SQL Server. Lessons

Introduction to Spatial Data Working with SQL Server Spatial Data Types Using Spatial Data in Applications

Lab: Working with SQL Server Spatial Data Familiarity With Geometry Data Type Adding Spatial Data to an Existing Table Business Application of Spatial Data After completing this module, students will be able to: Describe the importance of spatial data and the industry standards related to it. Explain how to store spatial data in SQL Server. Perform calculations on and query SQL Server spatial data.

Module 20: Working with Full-Text Indexes and Queries


This module covers full text indexes and queries. Lessons

Introduction to Full-Text Indexing Implementing Full-Text Indexes in SQL Server Working with Full-Text Queries

Lab: Working with Full-Text Indexes and Queries Implementing a Full-Text Index Implementing a Stoplist Creating a Stored Procedure to Implement a Full-Text Search After completing this module, students will be able to: Describe why user interfaces in existing applications are not sufficient for end user search needs. Implement full-text indexes in SQL Server. Query SQL Server using full-text queries.

Prepared by: PSSB-May 2012

Vendor Development Programme


Courses Title Courses Code Durations Exam Preparation Exam Writing Queries Using Microsoft SQL Server 2008 Transact-SQL 2778 3 Days 1 Day 70-433

Before attending this course, students must have: Knowledge of data integrity concepts. Core Windows Server skills. Relational database design skills. Programming skills. About this Course This 3-day instructor led course provides students with the technical skills required to write basic Transact-SQL queries for Microsoft SQL Server 2008. Audience Profile This course is intended for SQL Server database administrators, implementers, system engineers, and developers who are responsible for writing queries. At Course Completion After completing this course, students will be able to: Describe the uses of and ways to execute the Transact-SQL language. Use querying tool. Write SELECT queries to retrieve data. Group and summarize data by using Transact-SQL. Join data from multiple tables. Write queries that retrieve and modify data by using subqueries. Modify data in tables. Query text fields with full-text search. Describe how to create programming objects. Use various techniques when working with complex queries.

Course Outline Module 1: Getting Started with Databases and Transact-SQL in SQL Server 2008
The student will be introduced to how client/server architecture works, and examine the various database and business tasks that can be performed by using the components of SQL Server 2008. The student will also be introduced to SQL Server database concepts such as relational databases, normalization, and database objects. In addition, the student will learn how to use T-SQL to query databases and generate reports. Lessons Overview of SQL Server 2008 Overview of SQL Server Databases Overview and Syntax Elements of T-SQL Working with T-SQL Scripts Using T-SQL Querying Tools

Prepared by: PSSB-May 2012

Vendor Development Programme


Lab: Using SQL Server Management Studio and SQLCMD Exploring the Components and Executing Queries in SQL Server Management Studio Starting and Using SQLCMD Generating a Report from a SQL Server Database Using Microsoft Office Excel

After completing this module, students will be able to: Describe the architecture and components of SQL Server 2008. Describe the structure of a SQL Server database. Explain the basics of the SQL language. Describe the syntax elements of T-SQL. Explain how to manage T-SQL scripts. Use T-SQL querying tools to query SQL Server 2008 databases.

Module 2: Querying and Filtering Data


The students will be introduced to the basic Transact-SQL (T-SQL) statements that are used for writing queries, filtering data, and formatting result sets. Lessons Using the SELECT Statement Filtering Data Working with NULL Values Formatting Result Sets Performance Considerations for Writing Queries Lab: Querying and Filtering Data Retrieving Data by Using the SELECT Statement Filtering Data by Using Different Search Conditions Using Functions to Work with NULL Values Formatting Result Sets

After completing this module, students will be able to: Retrieve data by using the SELECT statement. Filter data by using different search conditions. Explain how to work with NULL values. Format result sets. Describe the performance considerations that affect data retrieval.

Module 3: Grouping and Summarizing Data


The students will learn to group and summarize data when generating reports in Microsoft SQL Server 2008 by using aggregate functions and the COMPUTE clause. Lessons Summarizing Data by Using Aggregate Functions Summarizing Grouped Data Ranking Grouped Data Creating Crosstab Queries Lab: Grouping and Summarizing Data Summarizing Data by Using Aggregate Functions Summarizing Grouped Data Ranking Grouped Data
Prepared by: PSSB-May 2012

Vendor Development Programme


Creating Crosstab Queries

After completing this module, students will be able to: Summarize data by using aggregate functions. Summarize grouped data by using the GROUP BY and COMPUTE clauses. Rank grouped data. Create cross-tabulation queries by using the PIVOT and UNPIVOT clauses.

Module 4: Joining Data from Multiple Tables


The students will learn to write joins to query multiple tables, as well as limiting and combining result sets. Lessons Querying Multiple Tables by Using Joins Applying Joins for Typical Reporting Needs Combining and Limiting Result Set Lab: Joining Data from Multiple Tables Querying Multiple Tables by Using Joins Applying Joins for Typical Reporting Needs Combining and Limiting Result Sets After completing this module, students will be able to: Query multiple tables by using joins. Apply joins for typical reporting needs. Combine and limit result sets.

Module 5: Working with Subqueries


The students will be introduced to basic and correlated subqueries and how these compare with joins and temporary tables. The students will also be introduced to using common table expressions in queries. Lessons Writing Basic Subqueries Writing Correlated Subqueries Comparing Subqueries with Joins and Temporary Tables Using Common Table Expressions Lab: Working with Subqueries Writing Basic Subqueries Writing Correlated Subqueries Comparing Subqueries with Joins and Temporary Tables Using Common Table Expressions

After completing this module, students will be able to: Write basic subqueries. Write correlated subqueries. Compare subqueries with joins and temporary tables. Use common table expressions in queries.

Prepared by: PSSB-May 2012

Vendor Development Programme Module 6: Modifying Data in Tables


The students will be able to modify the data in tables by using the INSERT, DELETE, and UPDATE statements. In addition, students will examine how transactions work in a database, the importance of transaction isolation levels, and how to manage transactions. Lessons Inserting Data into Tables Deleting Data from Tables Updating Data in Tables Overview of Transactions Lab: Modifying Data in Tables Inserting Data into Tables Deleting Data from Tables Updating Data in Tables Working with Transactions

After completing this module, students will be able to: Insert data into tables. Delete data from tables. Update data in tables. Describe transactions.

Module 7: Querying Metadata, XML, and Full-Text Indexes


The students will learn to query semi-structured and unstructured data. The students will also learn how SQL Server 2008 handles XML data and will query XML data. The students will also be introduced to full-text indexing in SQL Server 2008. Lessons Querying Metadata Overview of XML Querying XML Data Overview of Full-Text Indexes Querying Full-Text Indexes Lab: Querying Metadata, XML, and Full-Text Indexes Querying Metadata Querying XML Data Creating and Querying Full-Text Indexes

After completing this module, students will be able to: Query metadata. Describe the functionality of XML. Query XML data. Describe the functionality of full-text indexes. Query full-text indexes.

Module 8: Using Programming Objects for Data Retrieval


The students will be introduced to user-defined functions and executing various kinds of queries by using user-defined functions. The students will be introduced to SQL Server views that encapsulate data and present users with limited and relevant information. In addition, the students will be
Prepared by: PSSB-May 2012

Vendor Development Programme


introduced to SQL Server stored procedures and the functionalities of the various programming objects. The students will learn how to perform distributed queries and how SQL Server works with heterogeneous data such as databases, spreadsheets, and other servers. Lessons Overview of Views Overview of User-Defined Functions Overview of Stored Procedures Overview of Triggers Writing Distributed Queries Lab: Using Programming Objects for Data Retrieval Creating Views Creating User-Defined Functions Creating Stored Procedures Writing Distributed Queries

After completing this module, students will be able to: Encapsulate queries by using views. Encapsulate expressions by using user-defined functions. Explain how stored procedures encapsulate T-SQL logic. Define triggers, types of triggers, create a trigger. Write distributed queries.

Module 9: Using Advanced Querying Techniques


The students will be introduced to best practices for querying complex data. The students will also examine how to query complex table structures such as data stored in hierarchies and selfreferencing tables. The students will analyze the recommended guidelines for executing queries and how to optimize query performance. Lessons Considerations for Querying Data Working with Data Types Cursors and Set-Based Queries Dynamic SQL Maintaining Query Files Lab: Using Advanced Querying Techniques Using Execution Plans Converting Data Types Implementing a Hierarchy Using Cursors and Set-Based Queries

After completing this module, students will be able to: Explain the recommendations for querying complex data. Query complex table structures. Write efficient queries. Use various techniques when working with complex queries. Maintain query files.

Prepared by: PSSB-May 2012

You might also like