sp_detach_db <your db name here>
sp_attach_single_file_db @dbname = '<your db name here>', @physname = '<fullpath to>.mdf'