Monday 18 February 2013

Attach only mdf file - SQL Server



USE [master]
GO

EXEC sp_attach_single_file_db @dbname='Student',
@physname=N'C:\Shihafath\Student.mdf'
GO

No comments:

Post a Comment