Category Archives: Administration

Quick Script – Finding Most Recent Backup

A quick script that I wrote to find the most recent full backup of a database as well as generate a restore command for me with the appropriate file location. Continue reading

Posted in Administration | Tagged | Leave a comment

Validating Cluster Instance Owner with Powershell

A look how I am using powershell to send out validation emails regarding our clustered instances. Continue reading

Posted in Administration | Tagged , | Leave a comment

T-SQL Tuesday #67 – Extended Events

A look on how I am using extended events to monitor which SQL logins are authenticating to the sql instance. Continue reading

Posted in Administration | Tagged , , , | Leave a comment

SQL Server 2008 R2 SP3 Install Errors

A look at an install error that I encountered with SQL Server 2008 R2 Service Pack 3. Continue reading

Posted in Administration | Tagged | 1 Comment

Database Growth

An experiment to confirm that a SQL Server database will grow in increments specified by the auto growth settings. Continue reading

Posted in Administration, Internals | Tagged | 4 Comments

T-SQL Tuesday #65 – Failing Over with PowerShell

A look at how I’m using Powershell to hep control who is the owner of a clustered resource for serviceability. Continue reading

Posted in Administration, TSQL Tuesday | Tagged , , | 4 Comments

Detaching a Database – File Security Gotcha

A look at what happens to file permissions when you detach a database with an active directory or machine user account. Continue reading

Posted in Administration, Internals | Tagged , | 5 Comments

Procedure Creation – Correct Syntax, Wrong Database

A brief look at why a procedure is created even with a reference to an object that isn’t valid. Continue reading

Posted in Administration, Internals, T-SQL | Tagged , | Leave a comment

Database Restores – Zeroing Out Log Files

A look at what happens the log file when the database is restored. Continue reading

Posted in Administration, Internals | Tagged , | Leave a comment

Configuration Validation – Max Memory

A look at a script that validates the max memory setting for our installed SQL Servers. Continue reading

Posted in Administration, T-SQL | Tagged , , | 6 Comments