Course Outline
1. Database and DBO Preparation
2. Custom Data Types
- UDDT (User-Defined Data Types)
- UDT (User-Defined Types)
3. Spatial Data
- Geography
- Geometry
4. Hierarchical Data Type
- Structural Elements
- Storage Methods
- Indexing Strategies
- Methods
5. XML Data Type
- Creating Variables
- OPENXML Standard
- FOR XML Clause
- Data Type Conversion
- WITH XMLNAMESPACES Clause
- Namespaces
- XQUERY Language
- XPATH Language
- FLWOR Expressions
- Methods
- XML Document Indexing
- Examples of XML Data Usage
6. APPLY Operator
- CROSS APPLY
- OUTER APPLY
7. Ranking and Analytical Functions
- OVER Clause
- Window Functions
- Frame Clauses
- Operators: GROUPING SETS, GROUPING_ID, ROLLUP, CUBE, PIVOT, UNPIVOT
8. Temporary Data
- Temporary Tables
- Differences and Similarities in Using Table Variables and Temporary Tables
- Other Temporary Objects
9. Improving Query Performance through Data Indexing
- Row-Level Indexes,
- Advantages and Disadvantages of Using Indexes
- Types of Indexes
- Index Selectivity Indicator
- Server Suggestions for Missing Indexes
- Heap Tables (Heap)
- Hints (Guidelines, Tips for the Server)
- Measuring Operation Execution Time with and without Index Usage
- Columnar Indexes (COLUMNSTORE INDEX)
10. Maintenance of Indexes
- Index Fragmentation
- Rebuilding Indexes: REBUILD
- Reorganizing Indexes: REORGANIZE
- Index Fragmentation Levels
11. Creation and Maintenance of Statistics
- Structure of Statistics and Their Functioning Principle
- Monitoring and Maintaining Statistics
- Cardinality Estimation Errors and Updating Statistics
12. Query Execution Plan Analysis
- Query Optimizer
- CASE: Obtaining Information for a Specific Query
- Principles of the Query Optimizer's Functioning
- Query Plans: QUERY EXECUTION PLAN
- Types of Query Execution Plans
- Running and Reading Query Plans
- CASE: INDEX SCAN and INDEX SEEK Operations
- PARAMETER SNIFFING
- Code Recompilations
13. Controlling SQL Query Execution
- Hints (Guidelines, Tips for the Server)
- SQL Server Profiler - (SSP)
- Extended Events - (EE)
- Database Engine Tuning Advisor - (DTA)
- Data Collector - (DC)
- Query Store (Query Repository) - (QS)
Requirements
- Familiarity with SQL at an intermediate-advanced level
- Experience in database design and management
- Understanding of basic indexing concepts
Audience
- Database Administrators
- SQL Developers
- Data Analysts
Testimonials (5)
Transmitting knowledge through simple and understandable examples.
Katsiaryna
Course - SQL language in MSSQL
Machine Translated
Philip was very kind, his style of explaining SQL concepts is outstanding. I liked that he give us information and answered to questions which were not part of this course.
Stefan
Course - SQL in SQL Server
analytical functions
khusboo dassani - Tech Northwest Skillnet
Course - SQL Advanced
Practical demonstration of the knowledge acquired during the training in a real and very simple business problem. Referencing important aspects from a practical approach that are not directly part of the training.
Damian Golab
Course - SQL Advanced in MySQL
Machine Translated
Interactive exercises