Wednesday, 29 August 2012

How to add backup file using query:


If your getting error while attaching file to your DB here is the Query for attachment :

      EXEC sp_attach_single_file_db @dbname = 'MyDB', @physname = 'ur File Path'

No comments:

Post a Comment