Performs a checkpoint or a transaction log backup followed by a DBCC SHRINKFILE on the transaction log to the target percentage specified relative to the total data file(s) size.
2009-09-23 (first published: 2009-08-27)
2,505 reads
This procedure drops all manually added statistics (field user_created=1)
2009-06-11 (first published: 2009-05-25)
750 reads
The non-SSIS/GUI method I use to deploy standardized Database Maintenance Plans.
2013-05-16 (first published: 2009-05-07)
4,232 reads
Compare SQL code of sp, functions, or triggers. Can run across DB and/or servers. Generates report similar to windif. See details in comments
2009-08-03 (first published: 2008-09-05)
1,096 reads
Database tables without primary key, clustered index and no index
2008-08-13 (first published: 2008-06-17)
1,081 reads
Script to move physical files to a new location
2012-03-30 (first published: 2008-04-21)
3,206 reads
Index maintenance procedure using rebuild or reorganized based on fragementation level.
2011-10-26 (first published: 2008-03-28)
3,463 reads
How to set the database to a single user mode
2012-07-13 (first published: 2008-03-20)
2,196 reads
As per Threshold value DBA will get notified about the Disk Drive usage.
2007-11-23 (first published: 2007-10-08)
1,800 reads