A database cannot be attached while a transaction is active Explanation: You issued an ATTACH statement while a transaction was still in progress. User Action: You must either COMMIT or ROLLBACK the current transaction or wait until the current transaction is terminated before attaching another database.