Delete any DB snapshots that exist on the database.
If the database is involved in log shipping, remove log shipping.
If the database is published for transactional replication, or published or subscribed to merge replication, remove replication from the database.
In Object Explorer, connect to an instance of the SQL Server Database Engine, and then expand that instance.
Expand Databases, right-click the database to delete, and then click Delete.
Confirm the correct database is selected, and then click OK.
Refresh your server and CMDB database will not be displayed under database.
Connect to the Database Engine.
From the Standard bar, click New Query.
Type the script into the query window and click Execute.
After refreshing your server CMDB database will no longer will be the part part pf the database server.