0% found this document useful (0 votes)
9 views5 pages

Adv SQLProg

Uploaded by

leranatan
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)
9 views5 pages

Adv SQLProg

Uploaded by

leranatan
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/ 5

AdvSQLProg

Advanced Programming and Query


Tuning in SQL Server

[email protected] 03-6176666
Advanced Programming and Query
Tuning in SQL Server
AdvSQLProg - Version: 1

4 days course

Description:
This course takes programming and query tuning in SQL Server from the basic
level to the advanced, providing students with tools and techniques that will
allow them to write code for a broad range of requirements while optimizing
performance, and on the other hand, optimize performance of existing SQL
Server queries and processes. Throughout the course, the students will analyze
different case studies while comparing several approaches for each one and
choosing the best solutions.
The course is based on SQL Server 2019, but it is relevant also for previous
versions of SQL Server.

Intended Audience:
The course is intended for developers who are responsible for either writing
Transact-SQL code or tuning already written Transact-SQL code. Students should
be familiar with basic programming and with the syntax of Transact SQL.

Objectives:
• Understand the various data structures and data types within SQL Server
• Be able to design and utilize indexes and statistics efficiently
• Learn best practices for using programming objects in SQL Server
• Learn to write efficient Transact-SQL code using advanced techniques
• Understand how to read and analyze execution plans
• Acquire techniques for efficient query tuning and troubleshooting
Topics:

• Basic Querying Techniques


- Query Logical Order
- Joining Multiple Tables
- Grouping and Sorting
- Using Sub-Queries
- System Functions (String Functions, Date Functions, etc.)
- UNION, INTERSECT and EXCEPT

• Data Structures
- Data Types Best Practices
- Row Identifiers
- Common Table Expressions
- Temporary Tables vs. Table Variables
- Partitioning

• Understanding Indexes
- Index Types
- Missing Indexes and Redundant Indexes
- Guidelines for Writing Efficient Queries
- Index Tuning Guidelines

• Understanding Statistics
- Getting to Know Statistics
- What is the Cardinality Estimator?
- Multi-Column Statistics
- Filtered Statistics
- Scans, Seeks and SARGability

• Query Processor Internals


- The Plan Cache
- Compilation-Execution Sequence
- How Execution Plans are Made?
- Recompilations
- Parameterization

• Fundamentals of Query Tuning


- How to Read and Analyze Execution Plans?
- Problems in Execution Plans
- Computed Columns
- Implicit Conversions
- Memory Grants
- Query Parallelism
- Live Query Statistics

• Advanced Programming Techniques


- Ranking Functions and Window Functions
- Implementing Query Paging
- Pivoting and Unpivoting Techniques
- Grouping Sets
- The MERGE Statement
- Error Handling
- Working with Hierarchies

• Programming Objects Best Practices


- Views
- User-Defined Functions
- Stored Procedures
- Triggers
- Dynamic SQL

• Transactions and Locks


- Transactions Overview
- Lock Types
- Concurrency Issues
- Transaction Isolation Levels
- Locking Hints
- Deadlocks
- Nested Transactions

You might also like