>And so I need a GRANT IMPERSONATE permission

>SQL Server 2005 has given us the ability to allow more granular permissions, one of which is the EXECUTE AS clause. This would give the user the ability to impersonate a more privileged user should there be a need to do so. But before a user can do impersonation, it must be given the permission […]

>Broken BACKUP and RESTORE sequence?

>Have you ever had the to scratch your head because your database backups won’t work even if you are practically sure that you have tested them properly? Imagine this – you have a regular FULL and DIFFERENTIAL database backups working together as part of your backup process. Your FULL backups run every Sunday and your […]

>So you can recover from database snapshots…but…

>SQL Server 2005 has given us the option to create database snapshots to create a point-in-time image of the database. This gives us the option to restore from a point-in-time in case of user errors, like maybe accidentally truncating a table. MSDN has provided us a procedural approach on how to restore from database snapshots. […]

>Did you check your MSDB.dbo.suspect_pages after a database restore?

>In SQL Server 2005, the default behavior of a RESTORE command is to simply continue even if there are corrupted pages in your backups. The only way to find out if there are corruptions is when a user gives you a call saying that they could not query some records and probably gets an error […]

>You don’t trust your database backups? Use mirrored backup media sets in SQL Server 2005

>What could be more frustrating than knowing that your database backups went missing? This is specifically true if you are dealing with transaction log backups which are dependent on log sequence numbers. You don’t want to lose a single transaction log backup in the chain. In previous versions of SQL Server, we just execute a […]