Search results

  1. P

    Adding keyvault secrets to Linked Services not showing that option in the UI

    As per Microsoft's recommendations, the best practice for storing credentials and other sensitive information is to use a KeyVault. However, in the UI interface, the Keyvault is not always an option offered. And yet, there's a hack that you can use to circumvent that limitation and still use a...
  2. P

    SSIS: Three-part naming to a referenced database yields "unresolved reference to object" error

    While working on setting up a database project by importing an existing database, I ran into the issue that some of the database objects referenced tables in a different database. I imported that database as a separate project, and set up a reference from my first project to the second project...
  3. P

    Visually distinguishing between environments

    Have you ever been active on multiple servers in SQL Server Management Studio (SSMS), typed a command, only to realize just in time (or maybe too late) that your code would be executed on a different environment than you intended? With SELECT statements, this might not be a big issue, but...
  4. P

    Scripting a table in SQL Server Management Studio does not include indexes

    If you ever needed to script a table in SQL Server Management Studio (SSMS), you might have noticed that simply right-clicking the table, selecting "Script table as" will not include indexes: This is usually an issue, especially when you are using this script to integrate the tables into a...
  5. P

    Management Studio tabs not updating visually

    Recently I've encountered a situation where when switching between tabs in SQL Server Management Studio (SSMS), the screen doesn't refresh, making it look as if you are editing another query. Scrolling up and down would solve it, but it's quite annoying (not to mention confusing) if you are...
  6. P

    Management Studio overwriting instead of inserting text while typing

    For some reason, all of a sudden my SQL Server Management Studio (SSMS) started behaving somewhat odd; where other applications behaved properly, allowing me to type and the text simply being inserted, SSMS was overwriting text. I tested multiple other applications (Visual Studio, Notepad), but...
  7. P

    Azure Function error - Value cannot be null. Parameter name: uriString

    While attempting to fire a request at the Azure Function I deployed, I was greeted with the above error: As it turns out, while I thought I added the parameters used by the function (which on my local machine are pulled from the local.settings file), this turned out not to be the case...
  8. P

    (S)FTP Error: "Meet authentication failure when connect to Sftp server"

    Every so often when running an Azure Data Faxtory pipeline in which we attempt to source multiple files from an SFTP Server and subsequently dump them in a blob storage, we'd run into the following error: After a lot of poking around and testing, we determined this error is caused by the...
  9. P

    SSIS - Difference between MERGE and UNION ALL components

    As part of studying for a Microsoft exam, I came across a particular question: "You are planning a SQL Server Integration Services (SSIS) package. The sources have the same structure and data types. You have the following requirements: * The package must be able to combine data from at least...
  10. P

    SSAS: errors in the metadata manager the database with the name <db> already exists

    Should you ever be prompted with the error: , chances are that you renamed the name of the database recently. This is what happened in my case, and I ran into the error when trying to build the cube (and having changed the project settings to point at the changed database). As it turns out...
  11. P

    SSAS - Error THE ‘ROLE’ WITH ‘ID’ = {ID} DOESN’T EXIST IN THE COLLECTION.

    Today I was working on a new cube project. Basically we will be adding existing as well as new objects to a new cube. This will ensure the users will not be overwhelmed with all the objects existing in the existing cubes, but rather just see the subset they are interested in (and taking these...
  12. P

    Visual Studio/NuGet error: "... already has a dependency defined for ..."

    In order to get rid of some 2.3k error messages in Google Webmaster (for a different site), I figured I'd code a solution to do this for me, rather than doing so manually. This would require me to use the Google Apis Client Library in Visual Studio 2013. When attempting to do so, I received...
  13. P

    SSIS - Milliseconds truncated from datetime variables

    If you are using SSIS, chances are that you are using incremental loads in some places. If you are, there's a high likelihood that you aren't limited to using incremental IDs for watermarks, but at times might have to resort to using a LastLoadDate or something similar. In a lot of cases, you...
  14. P

    MDS: Reversing transactions (bulk process)

    At my current customer, somebody accidentally deleted a large number of entries. In itself, this is not a problem, as MDS offers a great way to reverse transactions (provided you configured MDS to use version management). To do so, go to the MDS homescreen, select the "Version Management"...
  15. P

    SSRS Error - An item with the same key has already been added

    I was working on an SSRS report today. It's a fairly straightforward process; select a data source, paste in a query, and click "Next". Not with this report. The error in the title popped up for me. It's a pretty non-descriptive title, though, so I popped open the Query Builder, hoping to find...
  16. P

    Terry Pratchett (Discworld) saying "Bingely bingely beep"

    This is as off-topic as things might get, but in my spare time I enjoy reading. One series of books that I love dearly is the Discworld series by the late Sir Terry Pratchett; a man whose writing skills and sense of humour were on a completely different level. In the series, onbe of the main...
  17. P

    Installing scrapy for Python on Windows

    Scrapy is a web-scraping library for python. Installing it (once Python is installed) is fairly straightforward. First of all, we'll have to install pip. Pip is a package manager for python. The easiest way to obtain it is by saving the following page to your local computer (like, for instace...
  18. P

    Deploying a DLL to the Global Assembly Cache

    If you are going to be using third-party (or your own) DLLs from inside SSIS, you will have to ensure the DLL is registered on your target server(s). This article is meant to describe how to do this. First, find the DLL you need. For the sake of this article, let's assume we have grabbed a copy...
  19. P

    SSIS - Search in files

    Recently I wanted to know which of my packages contained SQL that referenced a specific table. I ended up copying all packages to a folder, and painstakingly performing a text-based search in the files to find the table in the script. Today, a colleague showed me this is actually possible...
  20. P

    SSAS - Missing admin user

    This morning, I noticed my local installation of SSAS was complaining it didn't recognize my user account. This is probably because it's been quite a while since I logged on to the corporate domain, and I suspect my token expired. In SSAS this manifested itself by my userid being replaced with...
Top