Solved

Restoring SQL 2012 to SQL 2008 R2

Posted on 2015-01-14
7
49 Views
Last Modified: 2015-05-13
I have generated teh script file and now i need to put that into SQL 2008 R2.  IS there something special that needs to be done to that script file or do i just open it in 2008?  Any help is appreciated.  Thanks!

Perry
0
Comment
Question by:swilliamson-mwns
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 25

Expert Comment

by:Lee Savidge
ID: 40549342
Are you trying to restore a database backup from 2012 to 2008? If so you can't. You can't restore a backup to an earlier version of SQL.
0
 

Author Comment

by:swilliamson-mwns
ID: 40549354
I am tryin g to move a DB from a 2012 SQL server to 2008 R2.  I thought i could generate a script from the 2012 and then pull it into 2008.  Is that not correct?
0
 
LVL 15

Expert Comment

by:Deepak Chauhan
ID: 40549357
what this script does?
0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 

Author Comment

by:swilliamson-mwns
ID: 40549361
No Clue.  im not a database guy.  I have a DB that is on a 2012 server and needs to go on a 2008R2 SQL box.  looking  for how to get that done.
0
 
LVL 25

Expert Comment

by:Lee Savidge
ID: 40549370
It is not easy. Scripting the table structure out is one thing but you need to deal with the data move, indexes, stored procedures, functions, views, etc.

http://solutioncenter.apexsql.com/restore-sql-server-database-backup-to-older-version-of-sql-server/

I've done it once and I don't want to do it again.
0
 
LVL 15

Expert Comment

by:Deepak Chauhan
ID: 40549419
Yes that’s correct! Some new features come in picture in SQL Server 2012 like (Sequence, column store index, pagination.. and so on). So you need to correct and modify the code and make it compatible with SQL 2k8.
0
 
LVL 69

Accepted Solution

by:
Scott Pletcher earned 500 total points
ID: 40549467
You might be able to use the "Database Copy Wizard", running it from the SQL 2012 instance, and using the SMO method (i.e., not detach and attach).  You'll need to set all the "Scripting" options first.  It's not easy, but you might be able to get most (or even all) of the objects copied over that way.
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question