p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning Microsoft SQL Server 2012 Programming (http://p2p.wrox.com/forumdisplay.php?f=681)
-   -   Downloads from Wrox.com AdventureWorks (http://p2p.wrox.com/showthread.php?t=88101)

Cifrocco July 26th, 2012 01:01 PM

Downloads from Wrox.com AdventureWorks
 
I downloaded the sample databases for the Programming SQL Server 2012 Reporting Services book, but the zip files extract to AdventureWorks_WroxSSRS.bak. What is this file type? Does it need to be renamed? Should it not be a *.msi file like the readme says? Or at least a *.mdf file? I'm lost.

Cifrocco July 27th, 2012 06:51 AM

I figured it out.

In SQL Server Management Studio, in the Object Explorer pane, right click on the Databases folder of your SQL Server instance. Select Restore Database...

Choose Device and browse to your *.bak file.

The database will be restored to your SQL Server Data directory.

Thanks.

Cifrocco July 27th, 2012 08:47 AM

Now having same problem with the *.abf file, can't restore it. Any ideas?

milad0101 November 6th, 2012 04:27 AM

help me
 
I downloaded AdventureWorks for this book but it is a mdf file that it does not have log file and I couldn't attach it in SQL management tools.
please help me. :(

milad0101 November 6th, 2012 05:18 AM

I got it myself.
 
I got it myself.
here is the solution :
EXEC sp_attach_single_file_db @dbname='AdventureWorks',
@physname=N'C:\Program Files\Microsoft SQL Server\MSSQL11.SQLEXPRESS\MSSQL\DATA\AdventureWork s.mdf'


All times are GMT -4. The time now is 07:48 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.