Runs on the 90-database server for only 14 seconds giving back wealth of info.
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.
Greenberg & Trauriq PA
Miami , FL USA