Queries met Microsoft SQL Server
Lesgeld
SQL Intro
Na een introductie in relationele databases, de SQL standaard en Microsoft SQL, wordt ingegaan op de Microsoft SQL Server installatie, omgeving en tooling. Microsoft SQL Server heeft net als andere DBMS systemen extra eigen functies toegevoegd aan standaard SQL en ook deze worden in de cursus behandeld.
SQL Data Definition
In de eerste plaats komt aan de orde komt hoe SQL statements in Microsoft SQL Server kunnen worden gemaakt en uitgevoerd. Vervolgens word
SQL Intro
Na een introductie in relationele databases, de SQL standaard en Microsoft SQL, wordt ingegaan op de Microsoft SQL Server installatie, omgeving en tooling. Microsoft SQL Server heeft net als andere DBMS systemen extra eigen functies toegevoegd aan standaard SQL en ook deze worden in de cursus behandeld.
SQL Data Definition
In de eerste plaats komt aan de orde komt hoe SQL statements in Microsoft SQL Server kunnen worden gemaakt en uitgevoerd. Vervolgens wordt stapsgewijs ingegaan on de verschillende onderdelen van SQL zoals Data Definition Language met CREATE TABLE en Data Manipulation Language met INSERT en UPDATE.
SQL Select Queries
Vervolgens wordt aandacht besteed aan het schrijven van SELECT queries. Hierbij komen clausules als WHERE, ORDER BY, LIKE en BETWEEN .. AND aan de orde. Ook het groeperen van data door middel van GROUP en HAVING clauses staat op het programma van de cursus.
SQL Functies
Ook de diverse standaard SQL functions komen aan bod. Onder andere de mathematische, conversie en aggregatie functies voor het berekenen van som en gemiddelde worden behandeld. En ook wordt aandacht besteed aan Microsoft SQL Server specifieke functies voor o.a. table expressions, window ranking en pivoting.
Transacties
Microsoft SQL Server ondersteunt referentiële and transactionele integriteit. In dat verband wordt ingegaan op de relatie tussen primary en foreign keys en restrictieve en cascading foreign keys. Aan de orde komt hoe Microsoft SQL Server omgaat met transacties, de commit en rollback statements en hoe data corruptie wordt voorkomen in Microsoft SQL Server.
Joins
Vervolgens wordt ingegaan om het combineren van data uit verschillende tabellen door middel van joins. De diverse soorten joins zoals inner joins, left outer joins, right joins, right outer joins en full outer joins worden daarbij besproken. Tenslotte is er aandacht voor de toepassing van SET operatoren zoals UNION en INTERSECT en komt ook het command line interface van Microsoft SQL Server aan bod.
Doelgroep Cursus Queries met Microsoft SQL Server
De cursus Queries met Microsoft SQL Server is bedoeld voor developers, database beheerders en andere belangstellenden die Microsoft SQL willen leren kennen en gebruiken.
Voorkennis Cursus Queries met Microsoft SQL Server
Voor deze cursus is geen specifieke voorkennis vereist. Algemene kennis van systeem ontwikkeling en databases is bevorderlijk voor een goede begripsvorming.
Uitvoering Training Queries met Microsoft SQL Server
De theorie wordt behandeld op basis van presentatie slides. Demos worden gebruikt om de theorie te verduidelijken. Er is ruime gelegenheid tot oefenen. De cursustijden zijn van 9.30 tot 16.30.
Certificering Queries met Microsoft SQL Server
De deelnemers krijgen na het goed doorlopen van de cursus een officieel certificaat Queries met Microsoft SQL Server.
Modules
Module 1 : Microsoft SQL Server Intro
- Databases
- DBMS Systems
- Types of Database Models
- Entities and relationships
- Relational databases
- Microsoft SQL tools
- Installing MS SQL Server
- SQL Server versions
Module 2 : SQL Introduction
- SQL Foundations
- Transact SQL
- Connection Navigator
- Creating and Using Connections
- Data Types
- Statements and execution
- Table Expressions
- Stored Procedures
Module 3 : Data Definition
- CREATE TABLE
- Specifying Columns
- ALTER TABLE
- NULL and Default Values
- DROP COLUMN
- DROP TABLE
- PURGE
- Virtual Columns
Module 4 : Data Manipulatie
- Data Manipulation Language
- Transaction control
- Inserting rows
- INSERT statement
- Updating rows
- UPDATE statement
- DELETE statement
- TRUNCATE TABLE
- DML on virtual columns
Module 5 : SQL Queries
- Selecting rows
- SELECT statement
- FROM clause
- Specifying conditions
- WHERE clause
- Sorting with ORDER BY
- NULLs, FIRST, LAST
- Removing Doubles
- BETWEEN, IN, ANY, ALL
Module 6 : Grouping
- GROUP BY clause
- Filtering groups
- HAVING clause
- Operators
- String and Date Operators
- Concatenate operator
- Window Ranking
- Offset Functions
- Operators for intervals
Module 7 : Functions
- Function of column values
- Using functions
- SELECT clause functions
- WHERE clause functions
- GROUP BY clause functions
- HAVING clause functions
- ORDER BY clause functions
- String and Arithmetic functions
- Date and Conversion functions
- National Language Support
- Implementing Pivoting
- Cast
Module 8 : Joins
- Joining Multiple Tables
- Normal Joins
- Outer Join
- Inner join
- Natural join
- ANSI outer join
- Cross join
- Multiple join conditions
- Subselections
- Sub Queries
- Transactions
- Error Handling
Module 9 : SET Operators
- SET Operatoren
- UNION
- UNION ALL
- INTERSECT
- MINUS
- Nesting of SET operators
- Grouping Sets
- Connect statement
- SQL buffer
- Storing statements
- Spool files
- Transaction control