hero2-desktop.webp

55366: Querying Microsoft SQL Server with Transact-SQL

Intermediar

55366: Querying Microsoft SQL Server with Transact-SQL

Durată: 5 zile

Certificare: Diploma de participare

Cui îi este dedicat cursul?

This course is intended for novice database developers, database administrators, Business Intelligence developers, report creators, and application developers who have an understanding of relational database concepts and have basic Windows navigation skills.

Cunoștințe și abilități inițiale
  • Basic understanding of relational databases.
  • Basic Windows knowledge.
Prezentarea cursului

This course is intended for IT professionals who wish to use the Transact-SQL language to query and configure Microsoft SQL Server. Students are typically database developers and database administrators, but might also be Business Intelligence developers, report creators, or application developers. In this course, students learn how to query single tables, join data from multiple tables, filter and sort data, modify data, use procedures and functions, and implement error handling.

Ce subiecte abordează cursul
Module 1: Introduction to Transact-SQL

This module explains how to write and execute simple Transact-SQL queries.

Module 2: Joining tables with Transact-SQL

This module explains how to query multiple tables and join the results together in a single recordset.

Module 3: Filtering and sorting results

This module explains how to filter results to find specific records and how to sort the resulting recordset.

Module 4: SQL Server data types

This module explains how SQL Server uses data types. It’s essential to understand data types for comparing data and also for inserting and updating records.

Module 5: Inserting, updating and deleting data

This module explains how to use Transact-SQL Data Manipulation Language (DML) to inert, update and delete data.

Module 6: Using SQL Server functions with Transact-SQL

This module explains how to alter the output or search criteria with built-in functions.

Module 7: Aggregating data with Transact-SQL

This module explains how to group matching data and then aggregate numeric values for these groupings.

Module 8: Implement subqueries with Transact-SQL

This module explains how to use the output from one query as the input to another query.

Module 9: Create queries that use table expressions

This module explains how to use table expressions to extend the capabilities of sub-queries. Table expressions essentially name the results of a sub-query and allow them to be referenced as if they were a table.

Module 10: Use UNION, INTERSECT, EXCEPT and APPLY on multiple sets of data

This module explains how to combine the results of multiple queries rather than join them. In a simple UNION query both result sets are returned as one, with all the rows of each result set, but you can perform more complex operations and adjust how the multiple result sets interact.

Module 11: Implement window functions in queries

This module explains how to use windowing functions to create result sets with features, such as row numbers or running totals, that are complex or even impossible in traditional T-SQL.

Module 12: Use PIVOT and grouping sets in queries

This module explains how to change the otput of queries in more sophisticated ways. PIVOT enables you to change the orientation of recordsets and grouping sets allow you to apply multiple levels of aggregation.

Module 13: Use stored procedures in queries

This module explains how to use existing stored procedures and to create simple stored procedures. Stored procedures are encapsulated blocks of T-SQL code that can return recordsets as well as insert, update and delete data.

Module 14: Implement programming features in Transact-SQL

This module explains how to implement programming constructs seen in procedural programming languages such as loops and conditional execution.

Module 15: Add error handling to queries

This module explains how to implement error handling in T-SQL. Some errors are inevitable, such as a date value being passed to a numeric field, but these errors can be handled and resolved with proper error handling.

Module 16: Use transactions in queries

This module explains how to implement transactions to control how multiple connections to SQL Server interact with each other.

Ce abilități se dobândesc în urmă cursului
  • Create single table SELECT queries
  • Create multiple table SELECT queries
  • Filter and sort data
  • Insert, update, and delete data
  • Query data using built-in functions
  • Create queries that aggregate data
  • Create subqueries
  • Create queries that use table expressions
  • Use UNION, INTERSECT, and EXCEPT on multiple sets of data
  • Implement window functions in queries
  • Use PIVOT and GROUPING SETS in queries
  • Use stored procedures in queries
  • Add error handling to queries
  • Use transactions in queries

Nu ai găsit ce căutai? Dă-ne un mesaj!

Prin trimiterea acestui formular sunteți de acord cu termenii și condițiile noastre și cu Politica noastră de confidențialitate, care explică modul în care putem colecta, folosi și dezvălui informațiile dumneavoastră personale, inclusiv către terți.