Skip to main content
Under the kover of business intelligence
  • Home
  • Copyright
  • About

Category: TSQL

t-sql tuesday long

T-SQL Tuesday #199: Back to the on-prem

June 9, 2026June 7, 2026 Koen Verbeeck Leave a comment

It’s the second tuesday of the month, which means T-SQL Tuesday time! This month’s topic is chosen by myself, and it’s inspired by a blog post of Alexander Arvidsson. In a nutshell, I’m asking what we would do if we need to move our data platforms back to on-prem, after a good decade of cloud […]

Read More

t-sql tuesday long

T-SQL Tuesday #199 Invitation: Back to on-prem?

June 2, 2026May 29, 2026 Koen Verbeeck 10 Comments

It’s time for T-SQL Tuesday again! And we’re almost to number 200! T-SQL Tuesday is a monthly community blogging event started by Adam Machanic in 2009. Each month a host picks a topic, participants write about it on the second Tuesday of the month (9th of June), and the host posts a recap with links […]

Read More

t-sql tuesday long

T-SQL Tuesday #149 – T-SQL Advice you’d give to your younger self

April 12, 2022April 12, 2022 Koen Verbeeck Leave a comment

It’s the second Tuesday of the month, so it’s time for the T-SQL Tuesday blog party! This month’s topic is chosen by Camila Henrique (blog): what T-SQL advice would you give to your younger self? Here’s a little list I’d tell anyone starting out with T-SQL: you can configure most tools that when you hit […]

Read More

Parsing JSON in SQL Server with OPENJSON

March 28, 2022March 28, 2022 Koen Verbeeck Leave a comment

Recently I had a piece of JSON of which I needed to extract data from to put into a table in Azure SQL DB. Unfortunately, the structure of the JSON itself was too complex to map automatically in Azure Data Factory. It might be possible though, but after a few tries to map it manually […]

Read More

Convert Local Datetime to UTC (pre-SQL Server 2016)

February 17, 2022February 26, 2024 Koen Verbeeck 1 Comment

Recently I was working with a client who was still on SQL Server 2012. Support issues aside, there are some very useful T-SQL functions/clauses who didn’t exist in 2012, but were introduced in a later version. One of them is AT TIME ZONE, which you can use the convert dates between time zones, as demonstrated […]

Read More

t-sql tuesday long

T-SQL Tuesday #143 – Short code examples

October 12, 2021October 8, 2021 Koen Verbeeck Leave a comment

It’s this time of the month again! T-SQL Tuesday is a monthly blogging party on the second Tuesday. This month’s topic is “What are your go to handy short scripts?” brought to you by John McCormack. What are those little short bits of code that you can’t live without? I’m talking about little snippets that […]

Read More

The GREATEST new T-SQL Function

April 29, 2021April 29, 2021 Koen Verbeeck Leave a comment

If the title isn’t obvious enough, this blog post is about the new function GREATEST, and it’s sibling LEAST. But wait, how come there’s a new T-SQL function? There isn’t a new release of SQL Server! That’s right, those two new functions are released in Azure SQL DB, Azure SQL Managed Instance and Azure Synapse […]

Read More

Converting a Datetime to UTC

September 22, 2020September 22, 2020 Koen Verbeeck 6 Comments

I was in a need of converting some datetime values (of which I know the actual timezone) to UTC dates. A quick Google search showed me that most results on the first page were simply wrong. Most of them used this trick: Seems nifty, but they forgot about daylight savings time. If I run the […]

Read More

Optimize for Unknown for Inline Table-Valued Functions

September 17, 2020September 17, 2020 Koen Verbeeck Leave a comment

I had a curious performance issue today. An inline table-valued function (iTVF) was performing poorly for some parameter sets, and quite fast for other parameter values. In short, this one is fast: This one is slow: Turns out SQL Server used a plan with a hash join in the fast query, and a nested loop […]

Read More

SQL Server Development Best Practices – Webinar

May 27, 2019May 26, 2019 Koen Verbeeck 4 Comments

I’m delighted to announce I’ll be giving a webinar for MSSQLTips.com about SQL Server Development Best Practices. Aka writing T-SQL and stuff 🙂 The webcast is the 13th of June 2019 at 7PM UTC. In a nutshell, I’ll be talking about the stuff I would tell my 10-year younger self about T-SQL development (if I […]

Read More

Posts pagination

1 2 Older posts

Feed

RSS

Social

  • Twitter
  • LinkedIn

Former MVP

Former Microsoft Data Platform MVP (2017-2025)

star schema all the things
Get your star schema merchandise

Author of the Year 2014/2020/2023

Support this blog and buy me a beer

Recent Posts

  • T-SQL Tuesday #199: Back to the on-prem
  • T-SQL Tuesday #199 Invitation: Back to on-prem?
  • Error Deploying GraphQL in Fabric: dm_exec_describe_first_result_set
  • Session Materials for Techorama & DataGrillen 2026
  • Free Webinar about Columnstore Indexes

Categories

  • Azure (28)
  • Azure Data Factory (29)
  • Azure Devops (7)
  • Book Review (26)
  • Business Intelligence (29)
  • Events (65)
  • Fabric (22)
  • Power BI (44)
  • Professional Development (9)
  • Snowflake (14)
  • SQL Server (119)
    • MDS (8)
    • SSAS (12)
    • SSIS (46)
    • SSRS (13)
    • TSQL (11)
  • Varia (37)
  • Twitter
  • LinkedIn
  • Home
  • Copyright
  • About
Under the kover of business intelligence All rights reserved. Theme by Colorlib Powered by WordPress