CREATE DATABASE Test_AP ON PRIMARY (FILENAME = 'C:\Program Files\Microsoft SQL Server\ MSSQL\Data\Test_AP_Data.mdf') FOR ATTACH