March 2010
S M T W T F S
« Oct    
 123456
78910111213
14151617181920
21222324252627
28293031  

SQL University: Backups and Restores – Recovery Models

Backups? What are you talking about?

One of the most basic administrative tasks in SQL Server is maintaining proper backups. A backup is nothing more than a dump of all the data, metadata and objects on a database (like stored procedures, functions, etc.) Not only do you need to make sure that backups of your DBs [...]

Server-level Trigger to Notify on SQL Login Changes (Including Password Changes)

Ideally, you want to go with Windows Authentication for all your users in SQL Server whenever possible. In the real world, most applications rely on SQL logins. So it happens rather frequently that when the password for a SQL login that is critical to an application is changed, that application breaks. Now, granted, if you are doing things [...]

SQL Service Accounts and SPNs (Service Named Principals)

Ah, the nuisances of AD and Kerberos. Whenever you change the service account on a SQL instance, you need to make sure that an SPN pointing to the SQL instance is in place for the Service Account. Otherwise, you might get the dreaded “cannot generate sspi context” error. To manage SPNs registered on your service [...]

How to programatically change SQL Server startup parameters (options)

Ok. First post. Let’s see how this goes.

So they’re called ‘Startup Options’ or ‘Startup Parameters’ interchangeably. I have no idea why. In this post, I intend to show you how to change these programatically (with a script). The example is restricted to one of the many Startup Options that SQL Server accepts.

Here’s the scenario. You [...]