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

Scripts by S M profile

   Items 1 to 6 of 6   

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/13 | Source: | Category: powershell
Rating: |  Discuss |   Briefcase | 68 reads

Simple script to list out SPID, Program_name and login details

If you have any requirement where you want to find out all the SPIDs running on a database along with the program/application name of the SPID and the login details. You can run the procedure to get the details very easily.  Read more...
By S M 2014/08/12 | Source: | Category: spid
Rating: |  Discuss |   Briefcase | 1,400 reads

Query to check whether my Full Database Backup is running fine.

The query will help to find whether my database backup to a specific instance of SQL Server is running fine. If HH> 1, this would signify that the backup is running, else this is a failure.  Read more...
By S M 2012/09/13 | Source:
Rating: |  Discuss |   Briefcase | 1,092 reads

Backup Database Size calculation Report - Monthwise

The script helps to calculate the size of the backup of the databases monthwise. This will help to understand the database growth rate from the backup file if we do not have any data collection utility to find the exact details of the DATA File growth.  Read more...
By S M 2012/09/24 | Source:
Rating: |  Discuss |   Briefcase | 1,118 reads

Killing User Connection(session) connected to the Database.

The script will be helpful to kill all the user sessions before performing the refresh of the database.  Read more...
By S M 2011/04/08 | Source: | Category: kill
Rating: |  Discuss |   Briefcase | 2,377 reads

Script: Map Orphan Login and Users

Map the Orphan Login and Users. 
By S M 2011/01/03 | Source: | Category: backup / restore
Rating: |  Discuss |   Briefcase | 2,595 reads
   Items 1 to 6 of 6