SQL Clone
SQLServerCentral is supported by Redgate
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)

Kill Spids and Restore Database

By John-246150,

This script will remove all the spids from a particular and allow you restore a database to a different location. The path of dump can be local or remote.

It is very useful for quickly restoring a copy of production for testing purposes.

Total article views: 947 | Views in the last 30 days: 2