Dynamically drop a user from each database on an SQL instance by their server login SID, then remove there server login as well. Plus some helpful printable information when ran.
2013-08-09 (first published: 2013-07-16)
921 reads
Easiest way to search for a string in any object within the database.
2013-08-08 (first published: 2013-07-29)
2,317 reads
A simple T-SQL script to display the number of days since the last database backup.
2013-08-07 (first published: 2013-07-29)
1,667 reads
Collect the views and schema for a table!
2013-07-31 (first published: 2008-07-15)
1,626 reads
Find objects in any database on your SQL instance.
2013-07-30 (first published: 2013-06-12)
1,536 reads
Reports index length stats for indexes who's lengths exceeding parametrized thresholds (defaults to 0 - get all) for total length and seek length, optionally filtering schemas and tables.
2013-07-26 (first published: 2009-01-16)
2,350 reads
Use DBCC to help monitor the database size.
2013-07-25 (first published: 2002-03-19)
3,765 reads
Job list cluttered?
This script will return a list of jobs that either have not run in X months or where the next schedule run date is older than today.
2013-07-24 (first published: 2013-06-25)
1,278 reads
View information about the deadlocks captured to a trace file.
2013-07-22 (first published: 2009-04-30)
3,905 reads
A function to wrap Alex Aza's "find default paths" solution.
2013-07-19 (first published: 2013-07-01)
664 reads