Attach and detach SQL databases with SQL server management studio
Attach or detach a SQL database to the SQL instance for Accounting CS, Workpapers CS, and Practice CS using SQL Server Management Studio. This article explains the steps for SQL Server Management Studio. The steps may differ if you have the full version of SQL. If you haven't installed SQL Server Management Studio, consult your firm's qualified IT professional.
Follow these steps to attach or detach a SQL database.
Open SQL Server Management Studio.
Select the desired instance for attachment or detachment.
Select
Connect
.
Then, follow either of the procedures below.
Detach a database in management studio
To detach a database:
Expand the
Databases
folder by clicking the "+" button next to it under the instance.
Right-click the database you want to detach.
Select
Tasks
, then select
Detach
.
Mark the
Drop
checkbox.
Select
OK
.
Attach a database in management studio
To attach a database:
Right-click the
Databases
folder under the instance, then select
Attach
.
Select
Add
.
Select the database file you want to attach and click OK.
Verify the correct database is selected and select
OK
.
note
If you see a message about a missing LDF file, remove the file and proceed. SQL will recreate the LDF file.
Open your CS program (Accounting CS, Workpapers CS, or Practice CS).
note
If the database doesn't appear on the login screen, the database owner may not have transferred during attachment. To fix this: