Wrox Programmer Forums
|
BOOK: Beginning Microsoft SQL Server 2012 Programming
This is the forum to discuss the Wrox book Beginning Microsoft SQL Server 2012 Programming Paul Atkinson, Robert Vieira ; ISBN: 978-1-1181-0228-2
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Microsoft SQL Server 2012 Programming section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 26th, 2012, 01:01 PM
Registered User
 
Join Date: Jul 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
 
Old July 27th, 2012, 06:51 AM
Registered User
 
Join Date: Jul 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
 
Old July 27th, 2012, 08:47 AM
Registered User
 
Join Date: Jul 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Now having same problem with the *.abf file, can't restore it. Any ideas?
 
Old November 6th, 2012, 04:27 AM
Registered User
 
Join Date: Nov 2012
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default 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. :(

Last edited by milad0101; November 6th, 2012 at 05:19 AM..
 
Old November 6th, 2012, 05:18 AM
Registered User
 
Join Date: Nov 2012
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default 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'





Similar Threads
Thread Thread Starter Forum Replies Last Post
AdventureWorks Links845 LINQ 5 June 24th, 2010 07:35 AM
AdventureWorks Sample Database swmukesh BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 May 26th, 2010 02:27 PM
Problem deploying AdventureWorks SSAS database kuznickic SQL Server 2008 0 January 15th, 2010 04:11 AM
Adventureworks Termresults table?? chapter 6 cyberpine BOOK: Professional SQL Server 2005 Integration Services ISBN: 0-7645-8435-9 1 February 9th, 2008 04:26 PM
SSIS Adventureworks TerrmResults Table?? cyberpine SQL Server 2005 0 February 9th, 2008 04:00 PM





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