Script to delete a login and associated users from SQL Server

Occasionally, you might need to drop a single login from a SQL Server, however if that login has users in a lot of databases, it may be tedious to delete the associated user account from…

Log Backup Failures – Danger, Will Robinson!

For databases in Full Recovery Model, log backups should be taken at a frequency that ensures your recovery point objective can be met. So you schedule log backups to occur, setup email notifications so you…

Unreported SQL Server Agent Job Failures

SQL Server Agent provides an easy-to-configure framework for notifying DBAs when jobs fail to run for any reason. Unfortunately, there are circumstances where job failures may not result in SQL Server sending a notification. For…

Inspect server and session User Options in effect

SQL Server can be configured to provide certain behavior to client sessions, via the SET OPTIONS= command, or via the sys.sp_configure ‘user options’ system stored procedure. The SET OPTIONS= command only affects the current session,…

SQL Saturday #837 Winnipeg – March 2nd 2019

SQL Saturday is coming to Winnipeg, for the 2nd time, on March 2nd, 2019 at the Red River Community College – Downtown Campus! SQL Saturday #837 Winnipeg should be a fantastic event; the last SQL…

Language used by the SQL Server binaries

SQL Server binaries come in various languages, such as 日本語 (Japanese), French, and English. It’s pretty easy to determine the language once SQL Server is *running*. A simple query does the trick:

However, if…