A set of user defined functions used to calculate the number of business or working hours (excluding the non working hours) that have passed since a certain point of time.
2011-09-21 (first published: 2007-11-20)
3,171 reads
Parses up & down the dependency chain of an object.
2011-09-20 (first published: 2008-01-11)
2,510 reads
Ensure all your databases have standardised options by running this script weekly.
2011-09-19 (first published: 2007-12-17)
2,147 reads
Just one way of testing for a linked server based on data within your database.
2011-09-16 (first published: 2007-08-07)
2,639 reads
Query to list all running SQL jobs.
2011-09-15 (first published: 2011-09-05)
2,927 reads
Recently one of my friend was doing some investigation in a new/unknown database and had really hard time locating the primary key – foreign key relations. Like it’s really tough to locate these relations when not enforced at database level in terms of primary key and foreign key constraints. But generally all database developers keep […]
2011-09-14 (first published: 2007-08-15)
2,803 reads
Delete files on a fileshare leaving behind files not older than n-days.
2011-09-13 (first published: 2008-04-02)
10,081 reads
Database server migration or SQL Server up gradation
2011-09-12 (first published: 2011-09-02)
1,519 reads
Script to backup 2000/2005 databases.
2011-09-09 (first published: 2007-11-19)
8,941 reads
Script one or all roles in a database. Includes users, obect permissions and column permissions.
2011-09-08 (first published: 2008-01-08)
5,275 reads