Recent Posts

Posted in Uncategorized

Deploy SQL Server With This One Script (dbatools) – SQL Server Consulting – Straight Path Solutions

Wanted to share this from Straight Path Solutions. Good dive into standing up a new SQL Server instance using DBA Tools from start to finish,…

Continue Reading... Deploy SQL Server With This One Script (dbatools) – SQL Server Consulting – Straight Path Solutions
Posted in DBA ETL PowerShell SQL Server

BCP and PowerShell

Sometimes you need to extract a large number of tables into some other format. I’ve written about BCP earlier as a quick option to move…

Continue Reading... BCP and PowerShell
Posted in Scripting SQL Server Tools TSQL TSQL Tuesday

BCP for Flat File ETL

Brent Ozar is hosting today’s #TSQL2sday about the most recent issue you closed. Working with a consulting firm for a variety of clients, I tend…

Continue Reading... BCP for Flat File ETL
Posted in Programming Uncategorized

Generating a Spelling Bee Practice Audio File with Python

This is a bit outside of the SQL Server realm, but might be of interest to some. I was asked to read 100 words recently,…

Continue Reading... Generating a Spelling Bee Practice Audio File with Python
Posted in SQL Server SSMS Tools

SQL Shades for SQL Management Studio – Review

For those of us who’ve worked with SQL Server for some time, we’ve regularly used SQL Server Management Studio (SSMS). In recent years, we’ve seen…

Continue Reading... SQL Shades for SQL Management Studio – Review
Posted in Azure PowerShell SQL Server

Azure SQL Database – Get users and role members for all databases

I ran into a concern to quickly audit all current users and role members for a set of Azure SQL databases, spread across multiple resource…

Continue Reading... Azure SQL Database – Get users and role members for all databases
Posted in SSIS

SSIS – TOKEN Expression

I’ve worked with SSIS for some time now, but a recent question and post pointed out an expression I’d never used before. We often have a need to split strings and pick out some portion of that string. Sometimes we have a need to pull in everything in the “nth” occurrence of a string. The TOKEN expression can be used to get that particular value.

Continue Reading... SSIS – TOKEN Expression
Posted in SQL Server TSQL

Calendar / Date Tables – An Introduction

What is a Calendar or Date table? Maybe you’ve worked with data warehouses before, in which case the concept of a “Date Dimension” is going…

Continue Reading... Calendar / Date Tables – An Introduction
Posted in PowerShell SQL Server

Creating and Setting SQL Server Certificates with PowerShell

I recently had a need to add certificates to SQL Servers throughout an organization. There were quite a few servers to update and the certificates…

Continue Reading... Creating and Setting SQL Server Certificates with PowerShell
Posted in DBA PowerShell SQL Server

Using PowerShell to restore Missing Windows Installer cache items

This seems oddly specific, but someone or something had cleared out many files from the Windows\Installer folder, probably to save space. (Sidenote, you can actually…

Continue Reading... Using PowerShell to restore Missing Windows Installer cache items