Search notes:

SQL Server: sp_detach_db

sp_detach_db detaches an (unused) database from an instance.

Index