The Merge Join Transformation and a SSIS Sorting Tip

My previous blog post was about the SSIS Lookup task and how it really works. Now that I have shown that the Lookup task shouldn’t be used for one-to-many or many-to-many joins, let’s take a look at the Merge Join transformation task. If you follow along with this blog, you will learn a little tip that will eliminate the requirement for you to add a SORT transformation task within your data flow task.

Continue reading The Merge Join Transformation and a SSIS Sorting Tip

RDX 2017 Top Database Trends- SQL Server on Linux

In this second article of our 2017 Database Trends series, we analyze Microsoft’s SQL Server on Linux offering.   We evaluate the impact the new offering will have on the database market arena and, more specifically, what the consequences will be for the Microsoft vs Oracle war for DBMS market dominance.

Continue reading RDX 2017 Top Database Trends- SQL Server on Linux

T-SQL Query- Search for Column Details by Name

Oftentimes, I am presented with queries from a client with a myriad of joins that have no table aliases. In order to improve performance, I often will have to create temporary tables from pieces of the query, and sometimes they need to be created manually as opposed to performing a SELECT INTO.  Having to search through all of the tables through the GUI manually to determine the proper information on the columns can be quite a pain and a waste of time.  In an effort to better utilize my time, I created a simple query that will return where the column resides as well as everything you need to know about the column and more.

Continue reading T-SQL Query- Search for Column Details by Name

SQL Server Reporting Services- Adding SSRS to SQL Server Clustered Instance

I recently was tasked with a project to consolidate several SQL 2005 database servers down to one existing SQL 2012 database cluster.  While working on this project, I found that one of the database servers needing to be consolidated was utilizing SQL Server Reporting Services (SSRS), but the existing cluster was not configured for Reporting Services.  SSRS is not cluster aware, so adding this feature to an existing clustered instance is not straightforward and will likely lead to a rule check failure on the “Existing clustered or cluster-prepared instance” rule.  Well today is your lucky day, as I’m going to show you exactly how to get beyond this error and on your way to making your SSRS cluster aware!

Continue reading SQL Server Reporting Services- Adding SSRS to SQL Server Clustered Instance

SQL Server Enterprise Features – Data Compression

In the world of big data, we are always trying to lighten our storage footprint.  Luckily for us, Microsoft has introduced data compression as an enterprise-level feature to aid in conserving storage.  Not only are you able to save on storage, you will also dramatically reduce the number of I/O requests.  Knowing that the disk subsystem is the slowest part of our environments, these fewer I/O requests needed for retrieving data will lead to an increase in performance. 

Continue reading SQL Server Enterprise Features – Data Compression

Naming Azure SQL Servers

As technology advances and organizations grow, cloud computing and hosting are becoming  a part of our organizations more and more.  One of the new offerings by Microsoft is their Azure platform with one of the services being the Azure SQL database.  While working with the Microsoft Azure platform during a recent project, I discovered the ability to name your own Azure SQL server in the Azure Preview Portal, a feature that isn’t available in the Azure Management Portal. I’d like to share this feature with you. 

Continue reading Naming Azure SQL Servers

Part 1: MDX Code Development for Beginners

As business intelligence continues to make a big splash into businesses, SSAS and cubes are becoming a requirement. One of the limitations that DBAs face every day is converting from reading and writing T-SQL statements to being able to read and write MDX with ease. In order help others who may have been thrown into the role, I am going to start a series on MDX code writing.  This blog post will be geared towards translating a simple T-SQL SELECT statement into an MDX SELECT statement.

Continue reading Part 1: MDX Code Development for Beginners

SQL Server- Use Database Snapshots for Code Deploys to Recover a Single Table or Entire Database

I have found that database snapshots are under-utilized and wanted to show an example of how efficient it is to use them prior to a code deploy for the purpose of recovering a single table or reverting an entire database from a snapshot in the event of unexpected functionality within an application.

Continue reading SQL Server- Use Database Snapshots for Code Deploys to Recover a Single Table or Entire Database

How to Slipstream SQL Server Install

If you cannot install SQL Server 2008 because of the known issue in the Setup program, you will have to use the slipstream method to successfully complete an installation of SQL Server. This method involves downloading the service pack package that you want for your architecture and combining that with the original SQL Server 2008 install media.

Continue reading How to Slipstream SQL Server Install

Creating SSAS Hierarchies with Multiple Dimension Tables

Recently, I was tasked with building a hierarchy using multiple dimensions. I was advised to use a named query or materialized view to accomplish this because SSAS doesn’t have the capabilities to read the columns/attributes from multiple dimensions. Since I have done this before, I decided to take the AdventureWorks database and give a step-by-step tutorial of how to accomplish this request. Let’s get started!

Continue reading Creating SSAS Hierarchies with Multiple Dimension Tables