Detaching a database involves the removal of the database from the runtime environment but does not delete the database or the data it contains.
This option is useful if you want to remove a database from use but retain the application data it contains.
To detach a database, perform the following:
Right-click the required database and select All Tasks > Detach From Runtime.
Click OK to confirm.