Mahadevan Business Intelligence
Labels
ASP.NET
(1)
Data Model
(1)
Django
(1)
MDX
(15)
Python
(3)
Redshift
(3)
SSAS
(15)
SSRS
(3)
T-SQL
(29)
Wednesday, 26 September 2012
Attaching .MDF file to a Database
Below is the script to attach AdventureWorks.mdf file to a newly created database:
CREATE
DATABASE
AdventureWorks2008DWR2
ON
(
FILENAME
=
N'C:\Users\mvaradhan\Downloads\AdventureWorksDW2008R2.mdf'
)
FOR
ATTACH
GO
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment