Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2012 > BOOK: Beginning Microsoft SQL Server 2012 Programming
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 26th, 2012, 01:01 PM
Registered User
Points: 11, Level: 1
Points: 11, Level: 1 Points: 11, Level: 1 Points: 11, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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.
Reply With Quote
  #2 (permalink)  
Old July 27th, 2012, 06:51 AM
Registered User
Points: 11, Level: 1
Points: 11, Level: 1 Points: 11, Level: 1 Points: 11, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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.
Reply With Quote
  #3 (permalink)  
Old July 27th, 2012, 08:47 AM
Registered User
Points: 11, Level: 1
Points: 11, Level: 1 Points: 11, Level: 1 Points: 11, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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?
Reply With Quote
  #4 (permalink)  
Old November 6th, 2012, 04:27 AM
Registered User
Points: 6, Level: 1
Points: 6, Level: 1 Points: 6, Level: 1 Points: 6, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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..
Reply With Quote
  #5 (permalink)  
Old November 6th, 2012, 05:18 AM
Registered User
Points: 6, Level: 1
Points: 6, Level: 1 Points: 6, Level: 1 Points: 6, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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'
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 01:54 PM.


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