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

Tag: sql server

Publish Database Fails – Script File could not be found

October 8, 2020February 26, 2021 Koen Verbeeck 1 Comment

A small blog post for anyone who stumbles across this issue (and for my future self, should I forget the solution). I was working on some tables in SSDT and I tried to publish changes to the database on my local machine. I got a build error because I created a clustered index on the […]

Read More

Exporting Environment Variables out of the SSIS Catalog

October 6, 2020October 6, 2020 Koen Verbeeck Leave a comment

Sometimes when you’ve created a SSIS catalog, along with folders, environments and environment variables, you want this content on another server. Unfortunately, you can only script out these objects in SSMS at the moment you’re creating them (thus right before you clikc ‘OK’ to confirm). Once the objects are created, you can no longer script […]

Read More

Converting a Datetime to UTC

September 22, 2020September 22, 2020 Koen Verbeeck 5 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

Quickly Editing Data in SSMS

April 2, 2020September 10, 2020 Koen Verbeeck 4 Comments

WARNING: do not do this in production. A quick blog post on a SSMS trick: how to quickly edit data. Sometimes you directly want to manipulate data without having to write a SQL statement. For example, in the development environment you want to modify a value in a column to test out a scenario, or […]

Read More

Book Review: T-SQL Window Functions by Itzik Ben-Gan

December 19, 2019June 5, 2024 Koen Verbeeck 2 Comments

A couple of years back Itzik Ben-Gan (the T-SQL guru) wrote the book Microsoft SQL Server 2012 High-Performance T-SQL Using Window Functions. It’s has been one of my most favorite technical books (I included it in this list): it was really an eye-opener to how useful and powerful window functions can be. It teaches the […]

Read More

Restarting SQL Server after adding a new SQL login

September 24, 2019September 10, 2020 Koen Verbeeck 2 Comments

At a project, we asked if we could get a SQL Server login/user so we could make a connection from an Apache Airflow pipeline to the SQL Server instance. The answer was: “No, because then we would need to restart the server”. This sounded a bit strange, because I’ve never had to restart the SQL […]

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

Cool Stuff in Snowflake – Part 5: Finding Previous Non Null Value

February 4, 2019September 10, 2020 Koen Verbeeck Leave a comment

I’m doing a little series on some of the nice features/capabilities in Snowflake (the cloud data warehouse). In each part, I’ll highlight something that I think it’s interesting enough to share. It might be some SQL function that I’d really like to be in SQL Server, it might be something else. Sometimes you need to find the […]

Read More

Cool Stuff in Snowflake – Part 4: Aliasing all the things

January 28, 2019February 2, 2019 Koen Verbeeck 11 Comments

I’m doing a little series on some of the nice features/capabilities in Snowflake (the cloud data warehouse). In each part, I’ll highlight something that I think it’s interesting enough to share. It might be some SQL function that I’d really like to be in SQL Server, it might be something else. In this post I’ll talk about […]

Read More

Posts pagination

Newer posts 1 2 3 4 … 7 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

  • dataMinds Connect 2025 – Slides & Scripts
  • Cloud Data Driven User Group 2025 – Slides & Scripts
  • Retro Data 2025 – Slidedeck
  • Secure Logic Apps with OAuth Authorization
  • Free Online Sessions – Building the €100 DWH and Indexing for Dummies

Categories

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