USE [master]
GO
CREATE DATABASE [KmpleteHvac] ON 
( FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\KmpleteHvac.mdf' ),
( FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\KmpleteHvac.ldf' ),
( FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\KmpleteHvac_1.mdf' )
 FOR ATTACH
GO

USE master;
GO
ALTER DATABASE KmpleteHvac
set AUTO_CLOSE OFF;
go
