Database is optional on SQL Server configuration.
Return value from scope if one given.