• Awesome script.

    Runs on the 90-database server for only 14 seconds giving back wealth of info.

    Two things:

    1. USE [?]; - dealing with the SharePoint databases with "-" and " " in their names

    2. database_name varchar(128) -accross the script as SharePoint database names are damn long. You could use sysname as well.

    Fixed in 2 minutes.

    Alex Donskoy

    SQL DBA

    Greenberg & Trauriq PA

    Miami , FL USA