SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Installing sample databases
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ConnieXujuan
Starting Member

48 Posts

Posted - 05/28/2012 :  02:28:16  Show Profile  Reply with Quote
Hey folks,

As I was trying to install the sample databases for sql server 2008 I downloaded the datafile 'AdventureWorks2008R2_Data' from codeplex.com. However, when I was double clicking the file trying to instiall it an 'Caution' message as below:

You are attempting to open a file of type 'SQL Server Dtaabase Primary Data File (.mdf)
These files are used by the operating system and by various programs. Editing or modifying them could damage your system.
If you still want to open the file, click Open with. Otherwise, click Cancel.

I was just wondering did I download the correct file? or there's something else I missed?

Thanks a lot!!

Connie

visakh16
Very Important crosS Applying yaK Herder

India
47069 Posts

Posted - 05/28/2012 :  02:45:38  Show Profile  Reply with Quote
you downloaded the correct file
But you've to attach it to server first rather than clicking and opening.

See here to understand how to attach a mdf file

http://msdn.microsoft.com/en-us/library/ms190209.aspx



------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

ConnieXujuan
Starting Member

48 Posts

Posted - 05/28/2012 :  23:58:58  Show Profile  Reply with Quote
THanks a lot!

Do I need to download the log files too? cause when I was trying to attach the file it gave me an error message showing that the log file is not found.

Connie :)
Go to Top of Page

khtan
In (Som, Ni, Yak)

Singapore
16746 Posts

Posted - 05/29/2012 :  00:08:35  Show Profile  Reply with Quote
yes. you should download the log file also


KH
Time is always against us

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000