Retrieving SQL Server Database Properties with DATABASEPROPERTYEX
Finding out information about database settings is not that hard when you use Enterprise Manager or Management Studio, T-SQL commands such as sp_helpdb or query the system tables directly. But the way the information is returned may not always be the mos

