PDF Version
SQL Server 2000:
Querying with Transact-SQL
Duration: 2 Days
Method: Hands-on, Instructor-led
SQ2KTSQL

Exploring Transact-SQL
Defining the Role of SQL Server
Defining the Types of SQL Statements
Using SQL Server Books On-Line
Using SQL Query Analyser
Observing and Executing a SQL Script File
Defining Data Types
Working with Object Names
Using Variables
Using Operators in a Query
Creating a Table Using the Basic Table Template
Using Osql

Querying Data
Selecting Data with the SELECT Statement
Using Comparison Operators in a WHERE Clause
Using Wildcards in Queries
Working with Logical Operators
Retrieving Data Based on a Range or List of Values
Sorting Data
Using the DISTINCT Keyword

Changing Data Through Queries
Inserting Data
Using the INSERT...SELECT Statement
Using the SELECT...INTO Statement
Using the DELETE Statement
Deleting Rows Based on a Query
Using the TRUNCATE TABLE Statement
Using the UPDATE Statement
Updating a Table Based on a Query
Working with Explicit Transactions

Summarizing Data
Using Aggregate Functions to Summarize Data
Using TOP in a Query
Designing GROUP BY Queries
Using the WITH ROLLUP Operator
Using the WITH CUBE Operator
Using the GROUPING Function With the WITH CUBE Operator

Joining Tables
Querying Multiple Tables
Designing and Executing an Inner Join
Working with Cross Joins
Working with Self Joins
Joining Multiple Tables
Combining SELECT Statements

Implementing Subqueries
Using a Subquery as a Table
Using Subqueries as an Expression

Working with Full-text Indexes
Implementing the Microsoft Search Service
Enabling Full-text Indexing on the Movie Table
Populating a Full-text Index
Configuring SQL Server to Automatically Update Full-text Indexes
Using the CONTAINS Search Condition in Queries
Using the CONTAINSTABLE Function in Queries
Using the FREETEXTTABLE Function in Queries

Programming Transact-SQL
Creating a View
Displaying View Information
Dropping a View
Using Books Online to Research System Stored Procedures
Creating a Stored Procedure
Executing a Stored Procedure
Creating an INSERT Trigger
Designing and Creating a Scalar Function

Course Overview
Delegates will learn how to use the Transact-SQL language to query a Microsoft SQL Server 2000 database.
Course Aims
Delegates will learn how to query the database, update and add new data to a database, summarise data for reporting purposes, join tables of information to report across multiple data sources, index a database, and program in Transact-SQL.
Course Pre-requisites
Delegates should be familiar with the standard Windows 95, Windows NT, Windows 2000 Graphical User Interface.
Qualification Map
This course covers elements essential for the following Microsoft exam: 70-229.
NEOS IT Training Limited
Suite 3, 3rd Floor, Marmion House
Copenhagen Street
Worcester
WR1 2HB

tel: 01905 726222
fax: 01905 613001
info@neos-it-training.com