← 返回首页
sqlworkshops-sql2022workshop/sql2022workshop/06_TSQL.md at main · microsoft/sqlworkshops-sql2022workshop · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Latest commit

 

History

History
97 lines (59 loc) · 5.16 KB
 main
Top

File metadata and controls

  • Preview
  • Code
  • Blame
97 lines (59 loc) · 5.16 KB

Workshop: SQL Server 2022 Workshop

A Microsoft workshop from the SQL Server team

SQL Server 2022 enhancements to T-SQL

SQL Server 2022 enhances the developer experience with the following enhancements to the T-SQL language:

  • Enhancements and new T-SQL functions to process JSON data.
  • Enhancements and new T-SQL functions for core T-SQL scenarios.
  • New T-SQL functions to process time series data.

Watch this video on T-SQL enhancements in SQL Server 2022 on Data Exposed:

Exercises

You will cover the following topics in this Module:

6.0 Process JSON data with T-SQL 6.1 Explore new core T-SQL enhancements 6.2 Process time series data with T-SQL 6.3 Using bit manipulation T-SQL functions in SQL Server

SQL Server 2022 introduces new and enhanced T-SQL functions to work with JSON data including:

ISJSON
JSON_PATH_EXISTS
JSON_OBJECT
JSON_ARRAY

Follow the instructions in the readme.md file in the sql2022workshop\06_TSQL\json folder.

SQL Server 2022 includes new and enhanced T-SQL functions and statements for core engine scenarios including:

GREATEST
LEAST
STRING_SPLIT
TRIM functions
DATETRUNC
IS [NOT] DISTINCT FROM
WINDOW clause

Follow the instructions in the readme.md file in the sql2022workshop\06_TSQL\surfacearea folder.

SQL Server 2022 provides new T-SQL functions to process data time series types of data including:

DATE_BUCKET
GENERATE_SERIES
FIRST_VALUE

Follow the instructions in the readme.md file in the sql2022workshop\06_TSQL\timeseries folder.

SQL Server 2022 provides new T-SQL functions to manipulate data at the bit level:

LEFT_SHIFT
RIGHT_SHIFT
BIT_COUNT
GET_BIT
SET_BIT

Follow the instructions in the readme.md file in the sql2022workshop\06_TSQL\bit folder.

Footer

© 2026 GitHub, Inc.