CREATE DATABASE [AdventureWorksDW2012] ON ( FILENAME = N'E:\SQL2012\AdventureWorksDW2012_Data.mdf' ) FOR ATTACH_REBUILD_LOG GO