Scripts

Run a Script Against All User Databases

Now you can run administrative T-SQL tasks against all your databases in one shot. Very usefull for environments that have a seperate database for each client, ASP's, etc. It's pretty straight forward and can be used for almost any task. This example Looks for a table and prints the database name and selects from the […]

2001-10-21

3,049 reads

Find Longstanding Open Transactions

Ever forget to commit a transaction and then find out hours later that there is deadlocked transactions all over your database server? Worse yet has one of your coworkers done this to your database server? Never again, this stored procedure will net send the machine that has an open transaction, and send you (The DBA) […]

4 (1)

2001-10-08

8,772 reads

Find strings in a stored procedure

Really simple... it returns a list of stored procedure names that contain the passed in string. Useful for finding all stored procedures that call another specified stored procedure. Call with the following command: exec usp_functions_findinUSP @str='sp_lastmodified'

3.5 (2)

2001-10-08

2,173 reads

Blogs

What you need to know About Azure SQL backup

By

Most of DBA are coming from On-premise Database Servers they know very well How...

Social: Respecting Names

By

This is a non-technical post, and my opinion. If you don’t want to read...

Proud to present at this year’s VMworld 2020 conference

By

I’m thrilled to support and participate in this year’s VMworld 2020 conference, which is...

Read the latest Blogs

Forums

SSIS DB migration from one server to other server.

By Srinivas Sista

Summary: We had migrated SSISDB from SQL Server version 11.0.6260 to SQL Server version...

Permission to view SQL jobs in SQL Server 2017

By Srinivas Sista

Hi, I'm using SQL Server 2017, I need to give developers only to view...

Offline Filegroups

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Offline Filegroups

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers