Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
Log in  ::  Register  ::  Not logged in

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Add a script

<< Newer    Items 61 to 80 of 3246    Older >>

List Out All User Defined Triggers

List Out All User Defined Triggers, along with the database where the triggers are disabled. is_ms_shipped = 1 denotes that its an user written trigger.  Read more...
By S M 2015/08/06 | Source: | Category: triggers
Rating: |  Discuss |   Briefcase | 714 reads

List Job Dependencies

A Stored Procedure that lists all Jobs that target a database and the job dependencies  Read more...
By Jamie Ingram 2015/07/29 | Source: | Category: job dependencies
Rating: |  Discuss |   Briefcase | 1,057 reads

Get user table indexes, size and column order

get user table indexes, size and column order 
By Perry Whittle 2015/10/08 | Source: | Category: index size
Rating: |  Discuss |   Briefcase | 905 reads

Cash Payments By Denomination

Will calculate min number of each denomination needed to pay a group of cash employees.   Read more...
By John Fielding 2015/07/20 | Source:
Rating: |  Discuss |   Briefcase | 613 reads

DB Integrity & Backup Report

This script returns the date for the most recent log/full backups and checks if a DBCC CHECKDB has ran within a week.  Read more...
By Nicholas Williams 2015/07/23 | Source: | Category: backup
Rating: |  Discuss |   Briefcase | 1,117 reads

When server was rebooted

Find out when your server was rebooted. 
By Mashrur Shuvo 2015/07/24 | Source: | Category: last reboot time
Rating: |  Discuss |   Briefcase | 1,467 reads

SQL Backups Compression Archive

This script takes the last full backup includes diff and logs backups until the next full backup in one file.  Read more...
Rating: (not yet rated) |  Discuss |   Briefcase | 700 reads

Conver Number to string ( exp. 9 - 0009 or 9 - 09)

This Function convert integer to string with N number of ceros to the left  Read more...
By Andrés Novelo 2015/07/22 | Source: | Category: t-sql
Rating: |  Discuss |   Briefcase | 1,187 reads

Setup Alerts for SQL Replication

If you want to monitor few specific alerts for SQL Replication (Merge and Transnational), you can may consider adding these 14 alerts.  Read more...
By S M 2015/07/21 | Source: | Category: replication
Rating: |  Discuss |   Briefcase | 707 reads

Monitor SQL Server and Service

To monitor SQL service and the host server is up and running, if down send e-mail to DBA  Read more...
Rating: |  Discuss |   Briefcase | 1,794 reads

Check Overdue Databases Backup List For Multiple SQL Servers

Check Overdue Backup List for Multiple SQL Servers from last 24 hrs.  Read more...
By Rahul Biswas 2015/07/17 | Source: | Category: overdue backup list
Rating: |  Discuss |   Briefcase | 709 reads

Productivity Keyboard Shortcuts 2

This is something i can not work without anymore  Read more...
By Emil Bialobrzeski 2015/10/26 | Source: | Category: tools
Rating: |  Discuss |   Briefcase | 2,729 reads

Dynamic Sudoku for 3X3

it is a 3X3 dynamic sudoku 
Rating: (not yet rated) |  Discuss |   Briefcase | 895 reads

List schemas in a database

This is an expansion of the sys.schemas table. User schemas are sorted to the top, schema type is decoded, schema authorization is included.  Read more...
By Chris Compton 2015/07/14 | Source: | Category: schema
Rating: |  Discuss |   Briefcase | 1,205 reads

Recent Restore History

This script simply returns the most recent restore information about databases for a server. Returns the destination database name, the device used to perform the restore and the restore date.  Read more...
By Nicholas Williams 2015/07/15 | Source: | Category: backup
Rating: |  Discuss |   Briefcase | 610 reads

A new set-based T-SQL solution for Sudoku puzzle

New set-based T-SQL solution for Sudoku puzzle using binary data and bitwise operations.   Read more...
By Kevin Duan 2015/07/09 | Source: | Category: set based
Rating: |  Discuss |   Briefcase | 1,207 reads

Adapatative Files Autogrow

Set minimal autogrow values for datafiles and logfiles depending on the file size, thresholds for all databases  Read more...
By Samuel HERVOUET 2015/07/08 | Source: | Category: files
Rating: |  Discuss |   Briefcase | 568 reads

Check Free Disk Space for Multiple SQL Servers

Check Free Disk Space for Multiple SQL Servers. 
Rating: |  Discuss |   Briefcase | 1,402 reads

Data Sample Scripter

Generates code for INSERTs as well as generating data form tables for INSERT. Will also find and script all dependencies recursively, present all scripts in dependency order, and generate a reverse-dependency order set of conditional DELETE statements.  Read more...
By SQLEmil 2015/11/12 | Source: | Category: unit testing
Rating: (not yet rated) |  Discuss |   Briefcase | 1,571 reads

Delete Backup Files From Default Backup Location

IF you have need to schedule job to cleanup backup files older than N days, you can use my written script.  Read more...
By S M 2015/07/02 | Source: | Category: backup
Rating: |  Discuss |   Briefcase | 503 reads
<< Newer    Items 61 to 80 of 3246    Older >>