SSRS – Matrix Report

Often when you create a SSRS report you choose to display your data in a Table, which means the rows are repeated straight down each column. For certain reports, a way to improve readability is to use a Matrix report. This pivots one of the rows into a column moves the rows into the appropriate column, sort of like a Pivot Table in Excel. Sound confusing? It is not, just look at the example below.

Continue reading SSRS – Matrix Report

Using dbatools to find orphaned files

A lot of times you will move a database file from one drive to another and then forget to delete the original. This takes up precious space and could be causing you low disk space. Using dbatools, you can easily find any orphaned files for 1 database or all of the servers in your estate.

Continue reading Using dbatools to find orphaned files

Sql Server: Find the location your backups are going to.

A client of mine setup backups on their server and the jobs are running successfully, but the backups are not showing up in the backup location. Finding the location of any backup commands can be found using a simple sql statement.

Continue reading Sql Server: Find the location your backups are going to.

Oracle: Database will not startup due to invalid parameter

Most DBA’s now have to take care of multiple database platforms and they all have their own set of commands. One of my Oracle databases would not startup due to an invalid parameter in the SPFILE. Read on how I was able to get the database back up and running.

Continue reading Oracle: Database will not startup due to invalid parameter

Using dbatools to import csv data to your database: Import-DbaCsv

Often you will get a “csv” file from someone to load into your Sql Server database. There are many ways to do this including: SSIS, using the import tool from SSMS, etc. Now there is another way using Import-DbaCsv from dbatools.

Continue reading Using dbatools to import csv data to your database: Import-DbaCsv

Using dbatools to check server disk space: Get-DbaDiskSpace

If you want to check how much free space you have on your Sql Server, you can just Remote Desktop in and check right? Yes, but I will show you an easier way using dbatools and a way to check multiple servers at once!

Continue reading Using dbatools to check server disk space: Get-DbaDiskSpace