Open SQL Server Management Studio and connect to the database server as a sysadmin, or with Windows Authentication.
Right-click on “Databases” object in Management Studio.
Browse to the database data file you wish to attach.
Confirm the location of the data and transaction log file. Click OK.