Monday, July 12, 2010

Create database from mdf file

USE [master]

GO
CREATE DATABASE [TestDB] ON
( FILENAME = N'D:\temp\testdb.mdf' )
FOR ATTACH

No comments:

Post a Comment