Loop through the master..sysdatabases for getting the database names and use DATABASEPROPERTYEX() as shown earlier to get the desired output and dump it in a temp table.For example to dump current database name and its recovery model, do something similar to this:declare @t table( a nvarchar(256), b nvarchar(20))insert @t select db_name(), convert(nvarchar(20), databasepropertyex(db_name(), 'RECOVERY'))
Harsh AthalyeIndia."The IMPOSSIBLE is often UNTRIED"