Method 1: Using SSMS UI
- Open object explorer in SSMS and connect to the server.
- Right click on the
Databasesfolder and selectAttach.

- Click
Addand select the mdf file and verify the database name and file locations.

- Click
Okto create the database.
