View Single Post
  #5 (permalink)  
Old November 6th, 2012, 05:18 AM
milad0101 milad0101 is offline
Registered User
Points: 6, Level: 1
Points: 6, Level: 1 Points: 6, Level: 1 Points: 6, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2012
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default I got it myself.

I got it myself.
here is the solution :
EXEC sp_attach_single_file_db @dbname='AdventureWorks',
@physname=N'C:\Program Files\Microsoft SQL Server\MSSQL11.SQLEXPRESS\MSSQL\DATA\AdventureWork s.mdf'
Reply With Quote