create database from .mdf file

USE [master] GO CREATE DATABASE Testing ON ( FILENAME = N’C:\Program Files\Microsoft SQL Server\MSSQL11.SQLEXPRESS\MSSQL\DATA\Testing.mdf’ ), ( FILENAME = N’C:\Program Files\Microsoft SQL Server\MSSQL11.SQLEXPRESS\MSSQL\DATA\Testing_log.ldf’ ) FOR ATTACH ; GO