Author

Ronald

Ronald on LinkedIn · Send a message

137 blogs since 2008, 1,674,549 reads in total.

  1. SQL Server on-premises or Microsoft Fabric: what does the move really gain you?

    Microsoft Fabric is everywhere, but what do you gain if you run a SQL Server data warehouse on-premises? The differences, the real costs, pipelines against SSIS, and what last week's Microsoft outage teaches.

    SQL Server, Data Warehousing, Power BI17 Nov 2026 · 1 reads
    1
  2. JOIN, LEFT JOIN or WHERE EXISTS: which one to pick and why

    JOIN, LEFT JOIN ... IS NULL, WHERE EXISTS and NOT IN seem to do the same thing. They do not always return the same result. With examples and measurements on a million rows.

    SQL Server17 Nov 2026 · 2 reads
    2
  3. Upgrading to SQL Server 2025: what you gain and what it costs

    SQL Server 2016 is out of support and 2017 follows in October 2027. What the upgrade to 2025 gains you, what it costs in work and risk, and what happens to SSIS, SSAS, SSRS and MDS.

    SQL Server, Data Warehousing17 Nov 2026 · 2 reads
    2
  4. Microsoft MDS end of life: your options before 2028

    Microsoft removed Master Data Services from SQL Server 2025, and SQL Server 2022 mainstream support ends on 11 January 2028. What that means for your MDS models, and how the alternatives compare.

    SQL Server, Data Warehousing1 Nov 2026 · 29 reads
    29
  5. Service areas per branch on the postcode map: who serves which postcode?

    A table with postcode ranges per branch, on a map of all 4,071 postcode areas. With the T-SQL that finds gaps, overlaps and areas assigned to the wrong branch.

    HTML Reporting, SQL Server28 Oct 2026 · 15 reads
    15
  6. How the Netherlands was built: 9.3 million addresses by year of construction on a map

    A moving map of the Netherlands, decade by decade, from the year of construction of 9.3 million addresses. With the T-SQL behind it, so you can run it yourself.

    HTML Reporting28 Oct 2026 · 17 reads
    17
  7. 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.

    SQL Server, Data Warehousing28 Oct 2026 · 16 reads
    16
  8. 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 ( ...

    SQL Server16 Jun 2026 · 1.2k reads
    1.2k
  9. 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 . ...

    SQL Server25 Jun 2025 · 1.9k reads
    1.9k
  10. 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 ...

    SQL Server6 Jun 2025 · 3.5k reads
    3.5k
  11. Build your own brain with MyGPT: metadata, logic and answers at your fingertips

    We all know it: you have built up years of knowledge about your data warehouse, the logic of procedures, the structure of your reports and the how and why of all kinds of column names. But it is either ...

    SQL Server5 Jun 2025 · 1.9k reads
    1.9k
  12. AI as your SQL sidekick: how ChatGPT and Claude make your code faster and better

    Anyone who writes SQL regularly knows there are three kinds of queries: The quick one-line selects, The 'just tinker a bit' report queries, And the real brain teasers with 8 joins, subselects and ...

    SQL Server5 Jun 2025 · 1.8k reads
    1.8k
  13. Using Claude to write SQL queries: blessing or trap?

    In recent years, Large Language Models (LLMs) such as GPT from OpenAI and Claude from Anthropic have become better and better at understanding and generating code. Where you used to sit puzzling ...

    SQL Server5 Jun 2025 · 1.8k reads
    1.8k
  14. 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 ...

    SQL Server, Data Warehousing27 Jan 2025 · 6.3k reads
    6.3k
  15. 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 ...

    Power BI20 Jun 2023 · 4.8k reads
    4.8k
  16. 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 ...

    Data Warehousing13 Jun 2023 · 3.7k reads
    3.7k
  17. 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 ...

    Power BI13 Jun 2023 · 3.9k reads
    3.9k
  18. 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 ...

    Data Warehousing, Power BI12 Jun 2023 · 4.4k reads
    4.4k
  19. 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 ...

    SQL Server12 Jun 2023 · 3.8k reads
    3.8k
  20. 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 ...

    SQL Server12 Jun 2023 · 5.2k reads
    5.2k
  21. Get the Most out of Customer Data with a Postcode Table: Your Guide to Successful Data Analysis

    A postcode table is basically a database of all postcodes in a certain country, in this case the Netherlands. It holds not only the postcodes themselves, but often also other useful data such as ...

    SQL Server12 Jun 2023 · 2.7k reads
    2.7k
  22. 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 ...

    SQL Server12 Jun 2023 · 5.2k reads
    5.2k
  23. 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 ...

    SQL Server12 Jun 2023 · 4.1k reads
    4.1k
  24. 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 ...

    SQL Server12 Jun 2023 · 2.7k reads
    2.7k
  25. 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 ...

    SQL Server12 Jun 2023 · 2.8k reads
    2.8k
  26. 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 ...

    SQL Server12 Jun 2023 · 3k reads
    3k
  27. Postcode Tables in Databases and Power BI: Linking Geographic Information to Business Performance

    In data analysis and business intelligence it is essential to understand not only numbers and statistics, but also the geographic context of that data. This is where the ...

    SQL Server5 Jun 2023 · 1.9k reads
    1.9k
  28. Making active bold buttons in Power BI

    When you work with buttons in Power BI, for example to work with bookmarks, it is useful to see which "view" is active in your report. It is a bit like the idea of web ...

    SQL Server8 Apr 2022 · 13.1k reads
    13.1k
  29. Assign Power BI Pro license to External (Guest) user

    Buying a Power BI Pro license and assigning it to a user. A short guide on how to buy a Power BI Pro license and assign it to an external user. Step 1: Share the Power BI report first ...

    Power BI27 Aug 2020 · 5.4k reads
    5.4k
  30. DAX Set column to Zero based on Username()

    I was looking for a formule to reset a column in my tabular model to zero based on the user who is logged in. This is quick workaround. In SSAS Tabular 2016, it's impossible to hide columns. We are ...

    SQL Server20 Mar 2019 · 5.7k reads
    5.7k
  31. Enrich customer data with the postal code table

    In a previous article we talked briefly about what you can do with the postal code table of the Netherlands. You can use a postal code table to fill in data on your website automatically. Enriching customer data ...

    SQL Server, Power BI1 comment7 Nov 2017 · 34.8k reads
    34.8k
  32. The 5 best examples Of Big Data in real life

    One thing that is definitely taking the world by storm is Big Data. It is considered highly imperative for big to small industries and businesses. Companies have started to embrace the fact that big ...

    SQL Server1 comment14 Sep 2017 · 14.6k reads
    14.6k
  33. Top 3 of the Best ETL tools in the Market in 2017

    It's pretty hard to say "best etl tools" or "single best etl tools" to recommend. ETL-tools are very often closely related to the ERP or database product in use at an organization. As an IT ...

    SQL Server12 Sep 2017 · 25.6k reads
    25.6k
  34. Power BI Update September 2017

    Power BI Update September 2017 The new Microsoft Power BI Desktop version has been released. This month brings another collection of new and useful updates, from reporting to data connectivity. The ...

    Power BI11 Sep 2017 · 5.5k reads
    5.5k
  35. How much does Microsoft Power BI cost?

    How much does Microsoft Power BI cost? Microsoft Power BI offers three enterprise pricing plans to choose from, one of which can be acquired for free (1 GB data capacity limit). Power BI – Free The ...

    Power BI8 Sep 2017 · 6.5k reads
    6.5k
  36. SQL Server Optimize Insert Performance In 5 Steps

    SQL Server Optimize Insert Performance In 5 Steps. What are the possible reasons of the slow table insert? What are ways to identify this bottleneck without the execution plan? DROP ALL triggers and ...

    SQL Server8 Sep 2017 · 9.6k reads
    9.6k
  37. SSIS Maximum insert commit size

    The default value of the Maximum insert commit size is 2147483647, the largest value a 4 byte INT will hold. This value is default set in SQL 2012+ but you need to set it manually in versions lower ...

    Data Warehousing7 Sep 2017 · 11.2k reads
    11.2k
  38. Cannot truncate table because it is being referenced by a FOREIGN KEY constraint

    Using Microsoft SQL Server, you cannot truncate or drop a table with a foreign key constraint. For example, when you have a client table and a country table. When the client table has a foreign key ...

    SQL Server7 Sep 2017 · 16.5k reads
    16.5k
  39. Power BI Premium Embedded vs PRO vs FREE

    At the moment, Microsoft has three versions of Power BI you can use. The Power BI Free, Power BI Pro and Power BI Premium. The Power BI Premium is a replacement of the Power BI Embedded version. This ...

    Power BI1 Aug 2017 · 8.9k reads
    8.9k
  40. Free e-book: Introducing Microsoft Power BI

    Get started quickly with Microsoft Power BI! Experts Alberto Ferrari and Marco Russo will help you bring your data to life, transforming your company’s data into rich visuals for you to collect and ...

    Power BI25 Jul 2016 · 6.5k reads
    6.5k
  41. SQL 2016 Database Mail not working

    I was struggling with my SQL Server 2016 database mail after installing the Free Developer edition of Sql Server 2016. My server contains Microsoft Windows Server 2012 and I enabled the SMTP server. ...

    SQL Server2 Jul 2016 · 9.8k reads
    9.8k
  42. Postcode table of the Netherlands + SQL Script

    The Dutch postcode table holds information about all postcodes known in the Netherlands. This is very useful when you want more information about a certain postcode, such as a geographic location ...

    SQL Server29 comments10 Mar 2016 · 136.6k reads
    136.6k
  43. Power BI Publish to the web

    See how easy it is to add your reports to your public websites and blogs with Power BI Publish to web. Now you can craft your data story and tell it online in minutes. Here's how!

    Power BI1 comment8 Feb 2016 · 37.4k reads
    37.4k
  44. Setup sp_send_dbmail attachment included!

    I need to setup a weekly report for one of my customers. The report can be manually run by executing a T-SQL statement and copy the result to Excel. After copying, it's emailed to the client. By ...

    SQL Server8 Feb 2016 · 20.5k reads
    20.5k
  45. Free E-Book SQL Server 2016

    The second preview of Microsoft SQL Server 2016 "Mission-Critical Applications, Deeper Insights, Hyperscale Cloud" is available for download.

    SQL Server5 Feb 2016 · 10.1k reads
    10.1k
  46. Data Warehouse - Why do you need one?

    The word "Data Warehouse" sounds quite exciting! It suggests something complicated, a kind of warehouse or collection of data. In fact a data warehouse is a database ...

    Data Warehousing4 Feb 2016 · 18.2k reads
    18.2k
  47. Linked Server - Why and how use them!

    A linked server is used to connect to another (remote) database or file (Xls, CVX) using SQL Server Management Studio (SSMS) and discover the data or objects. You can write SQL queries from your SSMS ...

    SQL Server3 Feb 2016 · 36.5k reads
    36.5k
  48. Cool ASCII big text generator

    I found this cool ascii text generator website today. You can use it to generate cool banners to use in your documentation or code comments.

    Power BI2 Feb 2016 · 11.9k reads
    11.9k
  49. Calculate Age in SQL Server

    In my daily work, I need to calculate and report the age of people very often. There are a couple of ways to calculate the age and will give you the right result. I do not recommend a SQL Function to ...

    SQL Server3 comments2 Feb 2016 · 11.7k reads
    11.7k
  50. T-TSQL - Create 4 week Moving Total

    This article will offer you a way to calculate a 4 week moving total in SQL using SQL Server. There are more ways to Rome but this is a way you can use to calculate it using a date dimension.

    SQL Server, Power BI7 Dec 2015 · 7.4k reads
    7.4k
  51. Create a KPI box with an image / text overlap in SSRS

    A common wish in SQL Server Reporting is to create an image with a text inside the image. When you are a common user of SSRS, you know this is not so easy. You cannot simply insert an image and a ...

    Power BI1 comment1 Dec 2015 · 16.7k reads
    16.7k
  52. Split a postcode range into separate records

    One requirement might be to show market coverage within the Netherlands on a map. The postcode areas of the Netherlands are divided by region. A region in turn can consist of ranges with ...

    SQL Server29 Jul 2015 · 7.5k reads
    7.5k
  53. SSRS - Subscriptions in pending status

    I had some subscriptions staying in the "Pending" LastStatus. It took me a lot of time to fix this problem. This blog will give you the solution for the problem.

    Power BI1 comment16 Oct 2014 · 23.1k reads
    23.1k
  54. SSAS OLAP is returning wrong results

    Like the title says; my SSAS OLAP cube (SQL 2008R2) was giving me wrong results when selecting a combination of a measure and a fact. I was struggling for days with this issue. I called old ...

    Data Warehousing17 Sep 2014 · 6.4k reads
    6.4k
  55. How to implement Dimension Security in SSAS

    I know it was not difficult to implement dimension security in Analysis Services. While it's not difficult, why did it cost me a lot of days to get this to work? Well, its because you have to do a ...

    Data Warehousing1 comment1 Sep 2014 · 539.9k reads
    539.9k
  56. Prevent Divide by Zero in SSRS

    In a previous post , I wrote about how to prevent the divide by zero issues in Reporting Services. The problem with the custom code I used was that the code returned the value 0 when one of the ...

    Power BI1 comment20 Aug 2014 · 11.7k reads
    11.7k
  57. Calculate Lost Customers using T-SQL

    A common question in the Business Intelligence world from customers is "how many customers did we lose this year" ? Businesses wants to know this so they can act faster to keep customers doing ...

    SQL Server20 Aug 2014 · 5.7k reads
    5.7k
  58. How To Find the slowest SQL Queries

    This stored procedure displays the top worst performing queries based on CPU, Execution Count, I/O and Elapsed_Time as identified using DMV information. This can be display the worst performing ...

    SQL Server3 Mar 2014 · 4.4k reads
    4.4k
  59. Interesting Course about data visualisation from Google

    Do you work with surveys, demographic information, evaluation data, test scores, or observation data? Are you interested in making the data you collect more useful by organizing it, analyzing it, and ...

    SQL Server26 Feb 2014 · 4.1k reads
    4.1k
  60. How to Refresh Reporting Services Cache?

    I am working for a client which uses a Datawarehouse in which the data is loaded once a day during the night. During the rest of the day, nothing changes in the datawarehouse. After a couple of ...

    SQL Server, Power BI12 comments10 Oct 2013 · 49.1k reads
    49.1k
  61. Calculate time in hours and minutes between two dates

    Sounds easy right? I want to calculate the difference in hours and minutes between two dates. A good readable notition for my report. I want a format like this: 00:36:53 OR 02:13:45 This can easy be ...

    SQL Server1 comment9 Oct 2013 · 6.3k reads
    6.3k
  62. SSAS: How to format a dimension attribute?

    I was looking for a method of formatting a dimension attrbibute in SSAS2008R2 to, for example a currency symbol €. In search of this question, I found out this is not possible within the default SSAS ...

    Data Warehousing30 Sep 2013 · 11.9k reads
    11.9k
  63. Powerpivot architecture

    Today I came across a nice page on the Microsoft site about the architecture of Microsoft Powerpivot.

    Data Warehousing, Power BI4 Jun 2013 · 4.7k reads
    4.7k
  64. SSRS2008R2 - Keep Header Visible While Scrolling

    When you build a report in SSRS2008R2 and you want the top header to stay in place while you scroll down, you would normally expect the option "Keep header Visible While ...

    Power BI29 May 2013 · 3.8k reads
    3.8k
  65. Wrong dot and comma in SSRS

    In SSRS you can set in a cell how the value should be displayed. This can cause some problems if you do not know how to change certain settings. The dot and comma can be displayed ...

    Power BI13 May 2013 · 4.1k reads
    4.1k
  66. SSRS Sparkline: NOW and TREND

    The SSRS sparkline is a powerful little chart that shows a trend at a glance. Google Finance, for example, uses the sparkline to show the price of a share over the day, while ...

    Power BI13 May 2013 · 4k reads
    4k
  67. After update trigger

    Sometimes it is useful to keep track of a modification date or modification user in a field, especially in a master data environment. You can use a trigger on a table for this. It must work both ...

    SQL Server27 Mar 2013 · 4.2k reads
    4.2k
  68. Calculate the nearest working day

    Last week I had a nice challenge. In the KPI table I use for certain reports, only the normal working days are calculated, Monday to Friday. Public holidays are in there too. The ...

    SQL Server1 comment6 Nov 2012 · 4.7k reads
    4.7k
  69. Dutch public holidays in SQL Server

    Sadly there is no standard function in SQL Server to check whether a date is a public holiday. To find out, it helps to use a date dimension as explained here ...

    SQL Server29 Aug 2012 · 6.8k reads
    6.8k
  70. Target line/StripLine in Reporting Services

    In SSRS 2008 R2 you can add a target line to a chart. This is useful to show, for example, what the target is, so you can quickly see which values go over the target.

    SQL Server29 Aug 2012 · 4.9k reads
    4.9k
  71. Publish an Excel Pivot online

    Today I found a nice article about publishing an Excel Pivot sheet online. I have not tested it myself yet, but I will definitely try it soon! ...

    SQL Server1 comment23 Aug 2012 · 4.4k reads
    4.4k
  72. SQL output in Excel shows millions

    You will often want to copy the result of an SQL query to Excel and send it on, for example so someone can check the figures, or just as a simple list. You will then ...

    SQL Server, Power BI29 Jun 2012 · 6.8k reads
    6.8k
  73. PowerPivot Format Percentage

    In MS PowerPivot for Excel you can add your own calculations to your pivot table. A useful trick is to add the formatting you want straight into the formula. If you use a ...

    Power BI2 comments12 Jun 2012 · 5.1k reads
    5.1k
  74. Calculate DateDiff With Only WeekDays or Workdays

    Today, I was working on a fact table for my datawarehouse. I was looking for a function to calculate the number of " normal weekdays " between two given dates I had a record in my Dwh from a HR ...

    SQL Server6 Jun 2012 · 12.5k reads
    12.5k
  75. Centralizing KPIs in your data warehouse

    You build brilliant reports with the best figures, revenue, productivity and KPIs. Over time more and more reports appear within the organization. Until someone suddenly notices that the ...

    SQL Server3 comments24 May 2012 · 5.7k reads
    5.7k
  76. Reset Ident Column in Database

    This is a very handy little script to generate a script to reset the ident column of all your database tables. This can be handy after filling and truncating tables. This script uses a schema "ps". ...

    SQL Server14 May 2012 · 4.1k reads
    4.1k
  77. Script to count nr of rows in all tables

    This script can be used as a view to count the number of rows in all SQL tables in your database. This can be very usefull.

    SQL Server14 May 2012 · 4.2k reads
    4.2k
  78. Calculate Weeks Between Two Dates using DateDiff

    In SQL Server, there's a buildin function to calculate the number of weeks between two dates. This function is called "DateDiff". The problem with this function is that Sql Server thinks the week ...

    SQL Server1 comment30 Mar 2012 · 50.2k reads
    50.2k
  79. Gratis E-Book: Introducing Microsoft SQL Server 2012

    Gratis e-book van Microsoft te download op deze website: Friends, the final and complete version of Introducing Microsoft SQL Server 2012 , by Ross Mistry ( @RossMistry ) and Stacia Misner ( ...

    SQL Server26 Mar 2012 · 4.2k reads
    4.2k
  80. Datawarehouse and Datamart - Empty Strings or NULL Values?

    I was wondering what's the best method to store empty fields from source systems in a datawarehouse. For example;a customer record without a first name stored in the database. When loading this ...

    SQL Server, Data Warehousing21 Mar 2012 · 9.7k reads
    9.7k
  81. Tablix filter with the LIKE operator

    The LIKE operator in Reporting Services works a little differently than in SQL. You would expect to use a %. Nothing could be further from the truth. So much for consistency.

    Power BI1 Feb 2012 · 3.7k reads
    3.7k
  82. Calculating running totals

    A lot has been written about it on the internet already, but I thought it was worth posting an article about calculating running totals in Microsoft SQL Server 2005 / 2008. There are ...

    SQL Server24 May 2011 · 5.4k reads
    5.4k
  83. How do I create a Period Dimension?

    This blog covers the period dimension. It looks a lot like the date dimension discussed earlier (and indispensable in every data warehouse), but its function is a little different. The power of ...

    SQL Server, Data Warehousing4 Nov 2010 · 9k reads
    9k
  84. Data Vault AdventureWorks Example

    There are many articles on the internet about the Data Vault. It is a method/data model to design a data warehouse. What strikes me is that there are no good examples (yet) of the ...

    Data Warehousing19 Oct 2010 · 7.5k reads
    7.5k
  85. One Single Version of the Truth does not exist

    This week I went to a seminar at Logica called Guru4Pro. The subject was: “Best Practices in Data Vault”, and the Godfather of Data Vault, Dan Linstedt, was one of the speakers.

    Data Warehousing1 Oct 2010 · 4.8k reads
    4.8k
  86. SSRS Best Practice II - Use Stored Procedures

    I did some research on the internet into which source is better for a Reporting Services report. Below are the advantages of using Stored Procedures.

    Power BI19 Aug 2010 · 3.7k reads
    3.7k
  87. Data conversion performance in SSIS

    Today I came across a very good article by the SQL CAT team about the performance differences between the different ways to convert data types in SSIS.

    Data Warehousing1 comment25 May 2010 · 7.8k reads
    7.8k
  88. How do I create a time dimension?

    Time dimensions, like date dimensions, are useful when you want to store the properties of a point in time for a fact. If you want to record the time of a sale, for example, you store ...

    SQL Server21 Apr 2010 · 4.6k reads
    4.6k
  89. Controlling ETL jobs in a Data Warehouse

    There are several ways to start the ETL jobs of a data warehouse. You can create an SSIS package that calls all underlying ETL packages. You can also create an SSIS package that ...

    Data Warehousing14 Apr 2010 · 7.6k reads
    7.6k
  90. Script all databases and objects

    Following an earlier article about scripting your database objects, I made a stored procedure that scripts all databases for you automatically and writes the script to a ...

    SQL Server3 Mar 2010 · 3.9k reads
    3.9k
  91. Metadata – Table growth in data warehouses

    While working out how to manage metadata (stored in a metadata database) for our data warehouse, the topic ‘table growth’ came up. In a data warehouse it is useful to know ...

    Data Warehousing2 Mar 2010 · 6.2k reads
    6.2k
  92. ETL Tool or SQL

    In an earlier article I wrote about the advantage of handling changes in a dimension with the Kimball Slowly Changing Dimension Type 2 principle, creating a new ...

    Data Warehousing14 Dec 2009 · 7.3k reads
    7.3k
  93. Updating a dimension in a data warehouse

    In an earlier article I wrote about the benefit of handling changes in a dimension with the Kimball Slowly Changing Dimension Type 2 principle: creating a new ...

    Data Warehousing26 Nov 2009 · 8.7k reads
    8.7k
  94. Historical Staging Area HSA in a DWH project

    In Data Warehouse projects there is always the question of which architecture works best. Every architecture has its own pros and cons. What I find important in an architecture ...

    Data Warehousing30 Oct 2009 · 5.9k reads
    5.9k
  95. Why not just Type 2?

    In a Slowly Changing Dimension scenario you normally decide per field whether it is a type 1, type 2 or type 3 field. With a type 1 the record is overwritten with the new value, with ...

    Data Warehousing8 Sep 2009 · 4.9k reads
    4.9k
  96. Dimension lookup optimization

    To update the dimension/fact, you must find out if a record already exists. Normally you do this by looking at the business key (natural key) in the dimension. If it is not ...

    Data Warehousing12 Aug 2009 · 4.1k reads
    4.1k
  97. Decrypt Stored Procedure, Views, Functions in SQL Server

    Last week I had a stored procedure in my SQL database which was encrypted. On the internet, you can find a lot of (payed) tools to decrypt a stored procedure but I also found this script. This script ...

    SQL Server30 Jun 2009 · 6.2k reads
    6.2k
  98. SSIS Package Configurations

    Working with SSIS packages can cause problems when you have to develop across different environments. Dougbert.com links to some SQL MVPs in a short blog post ...

    Data Warehousing9 Apr 2009 · 4k reads
    4k
  99. MSc Business Intelligence

    In 2010 DNV Academy CIBIT will be the first Dutch training institute to start an official Master of Science programme in Business Intelligence. On 12 March there was an information evening about it ...

    Data Warehousing13 Mar 2009 · 3.7k reads
    3.7k
  100. Checkpoints in SSIS

    The Control Flow in Integration Services gives you control and an overview of the tasks that run in your package. But when one of these tasks fails, you often do not want ...

    Data Warehousing11 Mar 2009 · 3.8k reads
    3.8k
  101. Exporting SSIS data to Excel 2007

    Below is a short description of how to connect to Excel 2007 from SSIS.

    Data Warehousing4 Mar 2009 · 3.9k reads
    3.9k
  102. Exporting more than 65,000 rows to Excel

    From Report Manager you can export a report to Excel. But Excel 2003 can only handle 65,000 rows per sheet. With this little trick you can get around this problem easily.

    Power BI3 Mar 2009 · 4.3k reads
    4.3k
  103. SQLBI Methodology

    This week I came across an interesting piece of information about a methodology for BI and data warehouse solutions. As most people know, the biggest theories in the BI market ...

    Data Warehousing26 Feb 2009 · 4k reads
    4k
  104. T-SQL Group By ALL

    When you type a T-SQL Query, you often want to group the data. Today I came across a neat trick for grouping: the GROUP BY ALL option. It may be a bit hard to explain what it ...

    SQL Server26 Feb 2009 · 3.8k reads
    3.8k
  105. Excel connectors and 64-bit

    The SSIS Excel connector is a special connector that does not have many configuration options, but does exactly what it should do: read data from an Excel tab and write it back into ...

    Data Warehousing25 Feb 2009 · 3.5k reads
    3.5k
  106. Using a variable in an OLE-DB Source (SSIS)

    In Integration Services you may want to build the SQL in your Data Flow Task dynamically by using a variable. To get this done, you need a trick.

    Data Warehousing25 Feb 2009 · 3.7k reads
    3.7k
  107. Finding the value of a variable in SSIS

    SSIS has a number of debugging tools. The one I could not find myself was a tool to trace variable values at runtime. A quick search on the internet did wonders.

    Data Warehousing25 Feb 2009 · 3.3k reads
    3.3k
  108. A tool to help you find KPIs

    A colleague of mine recently gave me a tip for a website where you can find KPIs (Key Performance Indicators) for important business processes.

    Data Warehousing24 Feb 2009 · 3.6k reads
    3.6k
  109. How do I back up my database?

    This article describes how you can script a Microsoft SQL Server database. This script holds the complete database structure and all objects in the database, such as functions and Stored ...

    SQL Server24 Feb 2009 · 3.4k reads
    3.4k
  110. How do I make a date dimension?

    Date dimensions are very useful. With a date dimension / date table you can look up for any date which week it falls in, which year, which month, whether it is a public holiday ...

    SQL Server9 comments24 Feb 2009 · 12.4k reads
    12.4k
  111. How do I back up my SSRS report as RDL

    The question I asked myself today: how can I make a backup of a Reporting Services report that is already deployed on the Report Server?

    Power BI17 Feb 2009 · 3.9k reads
    3.9k
  112. Custom Logging in SSIS

    Logging in SSIS (Integration Services) is a useful method that you should build into every package by default. With logging you can always look up (if needed) what time packages were ...

    Data Warehousing17 Feb 2009 · 3.8k reads
    3.8k
  113. BIDS Helper

    The Business Intelligence Development Studio (BIDS for short) is normally used to develop Microsoft BI software. There is room for improvement everywhere, and in this case the BIDS ...

    Data Warehousing16 Feb 2009 · 3.9k reads
    3.9k
  114. Analysis Services Enterprise vs Standard

    When a Microsoft Analysis environment has several servers with different editions, you always have to weigh how you keep the servers in sync with each other.

    Data Warehousing12 Feb 2009 · 4.3k reads
    4.3k
  115. Analysis Services, Reporting and Excel 2007

    I am currently working on a project that implements SQL Server 2005 (64-bit), Analysis & Reporting Services plus Excel 2007. The combination of Analysis and Excel offers very good options ...

    Data Warehousing5 Feb 2009 · 4k reads
    4k
  116. SSRS Best Practice I - Limit datasets

    In SQL Server Reporting Services you can create datasets. One of the best practices is to keep these datasets to a minimum, preferably just 1. As soon as someone ever has to ...

    Power BI5 Feb 2009 · 3.7k reads
    3.7k
  117. Subtotal Bold in a Matrix

    As soon as you want to make the subtotals in a matrix bold or give them a different colour, you will notice that this does not work well. You cannot just make the word "Total" bold but will have to take one extra ...

    Power BI3 Feb 2009 · 3.7k reads
    3.7k
  118. Starting and stopping SQL Server Services

    Jorg Klein found a smart way to stop and restart all SQL Server Services in 1 step. This saves a lot of time, because you no longer have to do it by hand!

    Data Warehousing14 Jan 2009 · 4.3k reads
    4.3k
  119. Backing up Reporting Services Data

    All the data for the reports in your report manager is stored in the Reportserver database. So it is wise to make a backup of this database every day.

    Power BI14 Jan 2009 · 4.1k reads
    4.1k
  120. Recursive Query with CTE II

    You can think of a number of scenarios where running a recursive query can be the answer. This example covers a recursive query on a department table, so that an ...

    SQL Server17 Dec 2008 · 4.2k reads
    4.2k
  121. Business Rules in the Data Warehouse

    As the name says, Business Rules are rules that apply to a company. Anyone with common sense can come up with Business Rules. In Data Warehousing you also deal with Business ...

    Data Warehousing16 Dec 2008 · 4.5k reads
    4.5k
  122. Column Usage in Views

    In SQL Server 2005 you can see which columns and which tables a View uses. There is a System-View in every database for this. This view is created automatically ...

    SQL Server15 Dec 2008 · 3.5k reads
    3.5k
  123. Searching for text in SSIS packages

    In SSIS (SQL Server Integration Services) you can search the content of the packages. This is useful when you want to know whether a column is used in a source or destination. You can ...

    SQL Server8 Dec 2008 · 3.6k reads
    3.6k
  124. Date calculations

    In SQL Server 2005 you can do date calculations in several ways. SQL Server 2005 has several functions you can use when you work with dates. This article describes a number of ...

    SQL Server2 comments5 Dec 2008 · 20.3k reads
    20.3k
  125. Finding duplicate rows

    Every row in a table is identified by a primary key. Now and then the key occurs twice in your system. That should not happen. With this simple query you can ...

    SQL Server2 Dec 2008 · 9.5k reads
    9.5k
  126. Query Active Directory

    It can be useful to include data from your Active Directory (AD) in your data warehouse. In my case it was useful because the customer wanted to see whether a user who had left the company still ...

    Data Warehousing17 Nov 2008 · 8.4k reads
    8.4k
  127. The selected report is not ready for viewing

    Lately I have often been annoyed by the following error message: The selected report is not ready for viewing. The report is still being rendered or a report snapshot is not available. ...

    Power BI12 Nov 2008 · 3.9k reads
    3.9k
  128. Problems when exporting to Excel

    When you make a report in Reporting Services, you often want to export it to Excel. Reporting Services quite often messes up the layout. For example, it often inserts columns ...

    Power BI10 Nov 2008 · 3.9k reads
    3.9k
  129. Recursive Query with CTE I

    I recently ran into a problem that I found interesting enough to put on my blog. It covers a common situation where you use a dataset several times, also called a ...

    SQL Server7 Nov 2008 · 4.7k reads
    4.7k
  130. Passing a multi-value parameter to a drillthrough report

    This article describes how to pass a multi-value parameter from report A to report B the easy way. I fiddled around with it for a long time myself to get it working. The ...

    Power BI3 Nov 2008 · 3.3k reads
    3.3k
  131. Parameter security when exporting to Excel

    Parameter security In our environment we use an ASP.NET web portal to offer reports, which are all made in Reporting Services 2005. The security with regard ...

    SQL Server17 Sep 2008 · 3.3k reads
    3.3k
  132. Divide by zero SSRS / division by 0 #error

    Division by 0 is not allowed in Reporting Services/SQL Server. With this simple formula you can prevent division by 0, so the #Error message no longer appears in your report. This formula ...

    Power BI12 Aug 2008 · 5.5k reads
    5.5k
  133. 'Show All' in a parameter box

    Say you want to use a parameter in your report with, for example, the names of the countries where you have customers. You will often want a choice in your ...

    Power BI3 Aug 2008 · 3.3k reads
    3.3k
  134. Convert a date to an integer

    In data warehouse land we use integers as primary keys for the date in our date dimension. So we store the date "2008-12-01 00:00:00.000" as "20081201". This lets you ...

    SQL Server26 Feb 2008 · 7.5k reads
    7.5k
  135. The 3 best ways - Find a column in a SQL database

    You want to find a column in one of the tables in your SQL Server database. Your database has a few hundred tables. Expanding all the tables to look for the column can be a time-consuming job ...

    SQL Server23 Jan 2008 · 18.6k reads
    18.6k
  136. Hierarchies in Analysis Services 2005

    Everyone knows them: hierarchies in Analysis Services 2005. With a hierarchy you can show certain data to the end user at different levels. A well-known example is: Year -> Quarter -> ...

    Data Warehousing21 Jan 2008 · 3.9k reads
    3.9k
  137. SSIS error reporting with Event Handlers

    When an error occurs in your ETL package, as a data warehouse administrator you also want to know what went wrong and when. When you use an event handler, an e-mail can for example ...

    Data Warehousing3 Jan 2008 · 3.4k reads
    3.4k
(137 rows affected)sqlblog.nl