I'd like our daily quality & policy testing framework to also test if
our databases are activated. However, I haven't found a good way to do
this yet - every approach has issues:
1. get snapshot for database on [db] - I can't tell if the database is
activated - or if it is inactivated by has a connection
2. list active databases - same as above
3. activate database and check return code - but I don't necessarily
want to activate them - i just want to know if they aren't.
So, any suggestions for how to just tell if a database is activated or
not while others are on the system, and without actually activating it?
Thanks
Ken
our databases are activated. However, I haven't found a good way to do
this yet - every approach has issues:
1. get snapshot for database on [db] - I can't tell if the database is
activated - or if it is inactivated by has a connection
2. list active databases - same as above
3. activate database and check return code - but I don't necessarily
want to activate them - i just want to know if they aren't.
So, any suggestions for how to just tell if a database is activated or
not while others are on the system, and without actually activating it?
Thanks
Ken
Comment