New T-SQL Enhancements in SQL Server 2022 | Data Exposed: MVP Edition

Поделиться
HTML-код
  • Опубликовано: 8 янв 2025

Комментарии • 6

  •  7 месяцев назад +3

    The DISTINCT feature is amazing!

  • @MeenakshiSundaraSanthosh
    @MeenakshiSundaraSanthosh 6 месяцев назад

    Yes. Generate series and windowed functions enhancements are the real game changers

  • @gandharjayantaundhe4023
    @gandharjayantaundhe4023 7 месяцев назад

    Great stuff! Thanks!

  •  7 месяцев назад

    8:40 Adding extra syntax instead of functions is one of the worst types of language design because it makes things less abstracted and reusable.
    How about adding an implicit join of foreign keys, that would be the best and most useful feature ever. You could just access sub fields without specifying a join. It's insane that no SQL dialect has this.

  • @tonoso
    @tonoso 7 месяцев назад +2

    I wish Microsoft would choose international standards of measurement to be default, and not US-specific start of the week 😂

    • @lennilobel
      @lennilobel 7 месяцев назад

      If you're referring to the DATETRUNC function, you can use the WEEK date part and then set any desired weekday as the first day of the week using SET DATEFIRST (the default is Sunday). Also, you can use the ISO_WEEK date part which, internationally, treats Monday as the first day of the week.