SQL databases cannot be detached unless there are no active queries/transactions/locks. We have seen on our SQL servers that we query for information with ORION APM that the database remains "locked" and we cannot detach it until we stop the APM services. However I'm trying to find out which services to stop temporarily while we do this. I don't want to go the route of going into every template with a SQL query and disabling each SQL component/monitor. That would take far too long and we'd rather have the necessary service down temporarily than delay the time it takes to disable each one.
Thanks.