Maintenance and Management


  • Script

An update to sp_spaceused2. This update fixes some problems related to dbs that are non-accessible such being offline. This stored proc can be run from any database when compiled in master and can report information on all databases at once. Get information on all dbs, one db, one db and all its tables or one […]


271 reads

Server User Access

  • Script

This script runs from the master database and records all the databases on the server. It then checks each database for users and records their name and the database(s) on which they have access. You can then create a nice cross tab report using any report designer (I used crystal) showing users on the databases […]


487 reads

Monitor File Growth - Set Based sp_MSforeachdb

  • Script

This is a script, similar to some you have seen in the past, that will monitor file growth on all databases for the given server. This script is not a fancy solution that has a tons of bells and whistles but, it is efficient. The script is a concantanation of the create table / populate […]

4.5 (2)


3,339 reads

Query to Display Trigger Status

  • Script

Ever wanted to know whether your triggers are enabled or not? The ObjectProperty command allows you to select information about the status of objects in your database, returning 1 for True and 0 for False. The example below determines whether a single trigger is disabled. SELECT ObjectProperty(object_id('Trigger_Name'), 'ExecIsTriggerDisabled') There are a number of other useful […]

5 (1)


1,022 reads


Power BI Monthly Digest – October 2019


In this month’s Power BI Digest with Manuel Quintana [Blog | Twitter] and I...

Database Fundamentals #24: Filtering Data


If you’ve been reading these Database Fundamentals posts, you’ve already seen the WHERE clause...

#PowershellBasics: The Windows Powershell icon in the task bar also lets you run Powershell ISE.


I don’t know about you, but I like having the tools that I’m likely...

Read the latest Blogs


More Network Restrictions

By Steve Jones - SSC Editor

Comments posted to this topic are about the item More Network Restrictions, which is...

Performance Tuning Question?

By CoolKid40

What are best steps to take to performance tune sql server?

Execution Plan vs Statistics I/0?

By CoolKid40

Whats difference between using execution plans vs statistics i/o to analyze and troubleshoot in...

Visit the forum


SQL Server Q&A from the SQLServerCentral community

Get answers

Question of the Day

Another Typo

See possible answers