Comprehensive Backup Script
These scripts were generated to standardize our SQL backup environments, and to remove backups from Maintenance Plans.
2011-12-22 (first published: 2008-01-29)
3,391 reads
These scripts were generated to standardize our SQL backup environments, and to remove backups from Maintenance Plans.
2011-12-22 (first published: 2008-01-29)
3,391 reads
This article talks about why SHRINKFILE is a very bad thing, and what to do about it if you must shrink a database file.
2011-12-16 (first published: 2010-11-09)
52,747 reads
A simple way to rename a file from within a T-SQL Script, primarily designed to add a date-time stamp. Works in 2000 and 2005.
2011-10-28 (first published: 2008-05-13)
2,857 reads
2008-06-19
9,350 reads
We have auditors in the building, looking at our security (amongst other things). So, we needed an easy way to generate a listing of the SQL logins, and the permissions into each database on our servers (over 70 if them).This script will generate the listings the auditors wanted.
2007-04-02 (first published: 2007-03-07)
5,575 reads
By Steve Jones
Some time ago I had downloaded all the SQL Saturday XML files. I’ve been...
Statistics objects are important for allowing the SQL Server Optimizer to make good estimates...
By DataOnWheels
Saving the Day from Delay Part 2 Creating DateKey and TimeKey columns can be...
Hi all, Got a strange one here that I hope someone can help with....
What's the best way to get better at T-SQL Querying? Something like Read/do the...
We're having a very peculiar problem with the "Maximum stored procedure, function, trigger, or...