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 21 to 40 of 3207    Older >>
 

Compare hotfix

Easy way to compare hotfix  Read more...
By Mashrur Shuvo 2015/08/04 | Source: SQLServerCentral.com | Category: powershell
Rating: |  Discuss |   Briefcase | 524 reads

Kill all USer Sessions before starting to restore a Database

If you have a requirement to Kill all USer Sessions before starting to restore a Database, you may use this script  Read more...
By S M 2015/08/05 | Source: SQLServerCentral.com | Category: sql restore
Rating: |  Discuss |   Briefcase | 1,285 reads

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: SQLServerCentral.com | Category: triggers
Rating: |  Discuss |   Briefcase | 629 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: SQLServerCentral.com | Category: job dependencies
Rating: |  Discuss |   Briefcase | 915 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: SQLServerCentral.com
Rating: |  Discuss |   Briefcase | 565 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: SQLServerCentral.com | Category: backup
Rating: |  Discuss |   Briefcase | 974 reads

When server was rebooted

Find out when your server was rebooted.  Read more...
By Mashrur Shuvo 2015/07/24 | Source: SQLServerCentral.com | Category: last reboot time
Rating: |  Discuss |   Briefcase | 1,230 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 | 604 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: SQLServerCentral.com | Category: t-sql
Rating: |  Discuss |   Briefcase | 1,090 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: SQLServerCentral.com | Category: replication
Rating: |  Discuss |   Briefcase | 576 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,546 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: SQLServerCentral.com | Category: overdue backup list
Rating: |  Discuss |   Briefcase | 652 reads

Productivity Keyboard Shortcuts 2

This is something i can not work without anymore  Read more...
By Emil Bialobrzeski 2015/07/13 | Source: SQLServerCentral.com | Category: tools
Rating: |  Discuss |   Briefcase | 1,581 reads

Dynamic Sudoku for 3X3

it is a 3X3 dynamic sudoku  Read more...
Rating: (not yet rated) |  Discuss |   Briefcase | 798 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: SQLServerCentral.com | Category: schema
Rating: |  Discuss |   Briefcase | 1,096 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: SQLServerCentral.com | Category: backup
Rating: |  Discuss |   Briefcase | 549 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: SQLServerCentral.com | Category: set based
Rating: |  Discuss |   Briefcase | 1,115 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: SQLServerCentral.com | Category: files
Rating: |  Discuss |   Briefcase | 510 reads

Check Free Disk Space for Multiple SQL Servers

Check Free Disk Space for Multiple SQL Servers.  Read more...
Rating: |  Discuss |   Briefcase | 1,253 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/07/06 | Source: SQLServerCentral.com | Category: unit testing
Rating: (not yet rated) |  Discuss |   Briefcase | 883 reads
<< Newer    Items 21 to 40 of 3207    Older >>