Thursday, August 22, 2019

Detach and Attach SQL Server Database

Detach and Attach SQL Server Database

how to Detach and Attach SQL Server Database using SQL Server Management studio?


According to the above, picture Detach your Selected database.

According to the above, picture Select "Update Stats" And Select "OK".
Move Database File Old Location to New location,
Ex: C:\databaseusergroup.mdf to D:\databaseusergroup.mdf
And Next Select "Attach" like Following Picture,

Attach Database like Following Pictures,
(If You Have multiple data file then you need to select only main MDF file)

and Most welcome your comments and ideas...

1 comment:

  1. The l-shaped computer desk gives you maximum desktop space while still fitting into almost any size office. The desktop is made out of thick MDF board, keeping it lightweight but still looking good