EXEC sp_attach_single_file_db DBName,'C:DB_Data.mdf'
EXEC
sp_attach_single_file_db DBName,
'C:DB_Data.mdf'