In this tip we will understand how to attach a database. I took Adventureworks2012 database Mdf file which we need to attach. Now do follow steps 1) Open the sql server and right click on Database folder of object explorer window. When you right click you will get a menu as shown below 2) …