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 3111    Older >>

Start Job and Wait

Job Control 
By Jefferson Gasparello 2014/11/19 | Source: | Category: sp_start_job
Rating: |  Discuss |   Briefcase | 938 reads


Removes characters in the a string (@string) that matches a specific pattern (updated 12-3-14)  Read more...
By Alan Burstein 2014/12/26 | Source: | Category: t-sql
Rating: |  Discuss |   Briefcase | 1,320 reads

Complete Index Detail

Complete index analisys 
By Leonardo Campos 2014/11/18 | Source: | Category: indexing
Rating: |  Discuss |   Briefcase | 1,471 reads

Checking All Date Columns in a Table(s)

Find minimum and maximum values for all date columns in a table or range of tables, using a mask.  Read more...
By Larry Schmidt 2014/11/17 | Source: | Category: date
Rating: |  Discuss |   Briefcase | 1,171 reads

Report on existing user connections

List user connections and possibly any linked server connections older than 1 hour  Read more...
Rating: |  Discuss |   Briefcase | 1,419 reads

Querying deadlock graph from SQL Extended Events

Sample script to read deadlock graph XML from default system health XEvent.  Read more...
By Marcelo Fonseca 2014/10/21 | Source: | Category: xevents
Rating: |  Discuss |   Briefcase | 1,645 reads

Retrieve instance-wide index level fill factor information

This script retrieves all fill factor information for all indexes (clustered and non) when it is not set to 0 or 100  Read more...
Rating: |  Discuss |   Briefcase | 552 reads

Extract SQL Server Key details

Extract SQL Server Name, Instance Name, Service Account details, startMode and ServiceState details with Powershell.  Read more...
By S M 2014/10/27 | Source: | Category: powershell
Rating: |  Discuss |   Briefcase | 1,202 reads

Datetime Formats

This stored procedure will show all possible datetime formats when used with the style argument in the CONVERT() function. It also shows sample output from the date part arguments.  Read more...
By Doug Deneau 2014/10/28 | Source: | Category: datetime
Rating: |  Discuss |   Briefcase | 1,603 reads

Split string using multiple delimiters

This script is used to split the string using multiple delimiters  Read more...
Rating: |  Discuss |   Briefcase | 1,507 reads

Track database growth 2012/2014

Enhancement to Track database growth By Irwan Tjanterik, 2014/09/23  Read more...
By Paulo Nascimento 2014/10/31 | Source: | Category: administration
Rating: |  Discuss |   Briefcase | 1,598 reads

AlwaysOn Availability Group Read Only Routing Script

Generate read only routing commands 
By Jeff Reinhard 2014/11/04 | Source: | Category: alwayson
Rating: |  Discuss |   Briefcase | 681 reads

Resend failed mail.

Script tries to resend all mails that has failed for the last @DaysBack days, before sending it checks if a copy has already been sent. Modify to fit your purpose...  Read more...
By ludvig.derning 2014/11/05 | Source: | Category: database mail
Rating: |  Discuss |   Briefcase | 743 reads

Get month days

Gets the number of days in a month 
By Igor Micev 2014/11/10 | Source: | Category: t-sql
Rating: |  Discuss |   Briefcase | 1,093 reads

Are my production databases accessible

Script below will provide tool to monitor status of all databases on given SQL server. If database(s) is not accessible for any reason notification is send to DBA.  Read more...
By krystian szczyrba 2014/11/12 | Source:
Rating: (not yet rated) |  Discuss |   Briefcase | 895 reads

Upload Backup Files to Amazon S3

This script will upload the latest backup files to an AWS S3 bucket  Read more...
By Alex Marsh 2014/11/14 | Source: | Category: backup
Rating: |  Discuss |   Briefcase | 456 reads

Remove Pattern Matched Characters

Remove characters matched in a patindex pattern recursively. 
By Steve Holle 2014/10/16 | Source: | Category: recursive
Rating: |  Discuss |   Briefcase | 1,034 reads

Missing indexes in current requests

Script to get any current requests with missing indexes  Read more...
Rating: |  Discuss |   Briefcase | 1,685 reads

AAG DB State Monitoring

This script is to help monitor the AAG DB synchronization status. It sends an HTML formatted email if Synchronization status is not "Synchronized" or "Synchronizing"  Read more...
By Tom Mongold 2014/10/14 | Source: | Category: aag
Rating: |  Discuss |   Briefcase | 658 reads

move tempdb

For maximum performance, tempdb should be placed on a seperate disk. This script does all the work for you, except the restart!  Read more...
By Wilfred van Dijk 2014/10/13 | Source: | Category: tempdb
Rating: |  Discuss |   Briefcase | 1,160 reads
<< Newer    Items 61 to 80 of 3111    Older >>