~/talk

MS SQL New functions, syntaxes, tips & tricks

Talkat SQL Server Virtual Conference 2021 · on Friday, 2021-01-29· [databases]
slides:none on file

Lists actual new T-SQL features: STRING_SPLIT single-char only (preserves empty fragments, beats XML splitter in tests: ~31ms vs ~60ms and far fewer logical reads), STRING_AGG with WITHIN GROUP (faster than XML method: ~63ms vs ~234ms, needs VARCHAR(MAX) for long results), STRING_ESCAPE/FORMATMESSAGE/TRIM/TRANSLATE/CONCAT_WS behavior notes, UTF‑8 collations (saves space for Cyrillic), improved truncation error now reports table/column/value, and COMPRESS/DECOMPRESS (good for large XML: 156MB→80MB, but inflates tiny strings and makes reads ~10x slower).

AI-written summary · about

  1. 0:00Start
  2. 16:55generate drop statements for all tables in your database
  3. 18:52aggregate strings
  4. 21:28aggregate by using the space between these letters
  5. 22:40using the string aggregate with aggregating and virtual max
  6. 24:20aggregate the invoice id
  7. 26:34replace some character with an empty string
  8. 29:00concatenate the same drop statements for every table in the databases
  9. 35:09supports utf-8 collation
  10. 39:44compress and decompress
  11. 42:34show you the compartment between row and page compression
  12. 46:15look at the execution plan
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.