Avatar of Sean McCown Microsoft SQL MVP

Follow Sean

Sean McCown Microsoft SQL MVP

Petri Contributor

LATEST

How to Design a Backup Strategy in SQL Server

Last Update: Jun 12, 2023

Designing a backup strategy in SQL is fairly straightforward, but it can get complicated when you’ve got a lot of moving pieces in your scenario. Sean McCown, Microsoft SQL MVP, takes the readers through the “best” practices to follow.

View Article

Changing SQL Server Job Owners with PowerShell

Using PowerShell for changing job owners in SQL Server. Sean McCown demonstrates how PowerShell is a more efficient option than SSMS or T-SQL when changing job owners in bulk.

View Article

Finding What You Need in PowerShell

Sean McCown provides an overview of working with cmdlets in PowerShell. Covers how to run help on cmdlets, and search specific cmdlets to learn what’s available in PowerShell, including the use of format-table and get-member to control how resulting information is displayed.

View Article

PowerShell Basics for DBAs

Overview of PowerShell basics by Sean McCown. PowerShell makes it possible for DBAs to easily manage multiple servers at once, often with very little coding. This article explains how PowerShell is organized, and how to get information about the different drives you work with.

View Article

Why Should DBAs Care About PowerShell?

Why Should DBAs Care About PowerShell? Sean McCown answers this question by demonstrating the simplicity of scripting in PowerShell, in contrast to T-SQL and VBScript, through a variety of real world examples.

View Article

Creating an Enterprise Scripting Template in PowerShell

Sean McCown builds upon past 2 PowerShell scripting articles (Scripting Database Objects in PowerShell & Scripting Database Objects with Advanced Options in PowerShell) to discuss how to build a scripting process which enables each object to be scripted to its own file.

View Article

Scripting Database Objects with Advanced Scripting Options in PowerShell

Sean McCown takes us beyond the basics of scripting database objects in PowerShell. This article explains how to set advanced scripting options using SMO.

View Article

Scripting Database Objects in PowerShell

A step-by-step guide covering the basics of scripting database objects in PowerShell by Sean McCown. With PowerShell you can easily script all the objects in your database manually, or schedule the scripting anytime you’d like, and for as many of your servers as you’d like.

View Article

How to Move Database Files in SQL Server: Part 2

Sean McCown discusses moving database files in SQL Server with the Detach/Attach method. Includes discussion of restrictions and implications to be aware of when detaching a database.

View Article

How to Move Database Files in SQL Server: Part 1

Sean McCown discusses moving database files in SQL Server by taking the database offline, in his opinion on the simplest, most flexible, and least invasive method.

View Article
Go to page