Business Intelligence & Datawarehousing

Queries die je morgen gewoon kunt gebruiken.

Praktische blogs over SQL Server, datawarehousing, Power BI en reporting. Met de code erbij.

SELECT*FROMsqlblog.blogsORDER BYdatumDESC;

  • 133blogs
  • 1.673.350keer gelezen
  • 72reacties
  • 2008eerste blog
  1. Werkgebieden per vestiging op de postcodekaart: wie bedient welke postcode?

    Een tabel met postcodereeksen per vestiging, op een kaart van alle 4.071 postcodegebieden. Met de T-SQL die gaten, overlap en verkeerd ingedeelde gebieden vindt.

    2
  2. Zo is Nederland gebouwd: 9,3 miljoen adressen per bouwjaar op de kaart

    Een bewegende kaart van Nederland, decennium per decennium, uit het bouwjaar van 9,3 miljoen adressen. Met de T-SQL erachter, zodat je hem zelf draait.

    1
  3. Faster AS400 loads into SQL Server: one column per row

    How we cut the fetch of 361,899 IBM i rows from 487 seconds to 57 to 95 seconds by packing 76 columns into one string, and how we kept it safe.

    1
  4. When a PBIX won't upload to Report Server: a PBIR round-trip gone wrong

    I lost an afternoon to this one, so here it is in case it saves someone else the same trip. The setup is an on-prem Power BI Report Server, fully patched, running the May 2026 release ( ...

    1,1K
  5. Quickly Reorder MDS Attributes Using SQL Updates

    If you've ever used Microsoft Master Data Services (MDS), you've probably noticed one of its more annoying limitations: there’s no drag-and-drop interface to reorder attributes within an entity . ...

    1,9K
  6. Keeping Your SQL Server Statistics Fresh: A Guide to Optimal Database Performance

    If you've ever wondered why your perfectly tuned SQL query suddenly starts crawling at a snail's pace, the culprit might be stale statistics. In SQL Server, statistics are like the GPS system for ...

    3,5K
  7. Je eigen brein bouwen met MyGPT: metadata, logica en antwoorden binnen handbereik

    We kennen het allemaal: je hebt jaren aan kennis opgebouwd over je datawarehouse, de logica van procedures, de structuur van je rapporten en het hoe-en-waarom van allerlei kolomnamen. Maar dat zit óf ...

    1,9K
  8. AI als SQL-sidekick: hoe ChatGPT en Claude je code sneller en beter maken

    Wie regelmatig SQL schrijft, weet dat er drie soorten queries zijn: De snelle één-regel-selects, De ‘even knutselen’-rapportqueries, En de echte hersenkrakers met 8 joins, subselects en ...

    1,8K
  9. Claude inzetten voor het schrijven van SQL-queries: zegen of valkuil?

    De afgelopen jaren zijn Large Language Models (LLM's) zoals GPT van OpenAI en Claude van Anthropic steeds beter geworden in het begrijpen en genereren van code. Waar je vroeger zelf zat te puzzelen ...

    1,8K
  10. How to Truncate All Tables in a Database While Preserving Foreign Keys: A Complete Script

    When testing a data warehouse , a common challenge is managing large datasets effectively. Often, you need to reset tables to a clean state, ensuring consistent testing environments. The most ...

    6,3K
  11. Introducing the RANK Window Function in DAX: An Overview and Example

    Introducing the RANK Window Function in DAX: An Overview and Example Data Analysis Expressions (DAX) is a collection of functions, operators, and constants used in Microsoft's Power BI, Analysis ...

    4,8K
  12. Understanding Lakehouse, Warehouse, and Datamart: The Differences Between the Three Fabric Objects

    In the world of data management, there are several data storage and processing models that organizations use to handle their ever-growing data needs. Three of these models, which have risen to ...

    3,7K
  13. Unveiling the Power of the New Card Visual in Power BI: Zebra BI Cards 1.6

    In the world of data visualization and business intelligence, Microsoft Power BI continues to evolve and introduce powerful new features that enhance data reporting and analysis. One of the standout ...

    3,9K
  14. The Correspondence Between Excel Formulas and DAX Formulas: Why Financial Analysts Should Learn DAX

    Excel, a widely used tool in the world of finance, has been the go-to platform for data analysis for decades. The formula-based structure of Excel allows analysts to manipulate, aggregate, and ...

    4,4K
  15. Advanced T-SQL Window Functions: A Comprehensive Guide with Examples

    Title: Advanced T-SQL Window Functions: A Comprehensive Guide with Examples Introduction Transact-SQL (T-SQL), Microsoft's proprietary extension of the SQL language, provides a rich set of tools for ...

    3,8K
  16. Top 5 Ways to Optimize Your SQL Server CPU Usage

    Introduction SQL Server is a powerful relational database management system developed by Microsoft. It is widely used in various industries for data storage, processing, and retrieval. However, like ...

    5,2K
  17. Ontgrendel de Kracht van Klantgegevens met een Postcodetabel: Uw Gids voor Succesvolle Data-analyse

    Een postcodetabel is in wezen een database van alle postcodes in een bepaald land, in dit geval Nederland. Het omvat niet alleen de postcodes zelf, maar vaak ook andere nuttige gegevens zoals ...

    2,7K
  18. SQL Server Disk Performance Metrics: An In-depth Guide

    Understanding your SQL Server's disk performance metrics is crucial for maintaining an efficient, high-performing database. These metrics provide insights into how well your storage system is ...

    5,2K
  19. 10 Common Mistakes in SQL Server Performance Optimization and How to Avoid Them

    Sure, here is a draft for the blog post: Microsoft SQL Server is a powerful, robust and feature-rich relational database management system (RDBMS). Despite its capabilities, improper usage or ...

    4,1K
  20. Unleashing the Power of Data: How Industry Leaders Implement Microsoft Power BI

    Introduction Microsoft Power BI is a suite of business analytics tools that enables organizations to analyze data and share insights. Through its comprehensive dashboards, interactive reports, and ...

    2,7K
  21. From Excel to Power BI: Transitioning to Advanced Analytics

    Over the past few decades, Excel has firmly established itself as a cornerstone of data management, manipulation, and visualization. However, in the evolving world of data analytics, tools like ...

    2,8K
  22. Making Sense of Time: An Introduction to SQL Server's DateTime Functions

    When it comes to managing and manipulating data, there's no doubt that SQL Server is one of the most popular choices. One of the reasons for its popularity is the rich set of functions it provides ...

    3K
  23. Postcodetabellen in Databases en Power BI: Koppeling van Geografische Informatie voor Bedrijfsprestaties

    In de wereld van gegevensanalyse en business intelligence is het essentieel om niet alleen cijfers en statistieken te begrijpen, maar ook de geografische context van die gegevens. Hier komt de ...

    1,9K
  24. Actieve bold buttons maken in Power BI

    Wanneer je met buttons werkt in Power BI om bijvoorbeeld met bookmarks te werken is het handig om te zien welke "view" actief is in je rapport. Het lijkt een beetje op het principe van een web ...

    13,1K
  25. Assign Power BI Pro license to External (Guest) user

    Power BI Pro licentie kopen en koppelen aan een gebruiker. Korte handleiding hoe je een power bi pro licentie kunt kopen en koppelen aan een externe gebruiker. Stap 1: Deel het powerbi rapport alvast ...

    5,4K
(25 rows affected)sqlblog.nl