Solved

Convert MS SQL 2012 Express database to MS SQL 2008 Standard?

Posted on 2014-03-10
4
367 Views
Last Modified: 2014-07-22
Hi, I am told that theoretically it is possible to Convert a MS SQL 2012 Express database to MS SQL 2008 Standard database?  I tried to detach the database from 2012 and attach it to 2008, but it says something about "family mismatch" or something.  So that didn't work.  Does any SQL guru's have instructions that will show me how to do this?  I'm told by our POS company SQL guru that it can be done, but they won't do it for their customers, NOR point them in the right direction.  

One person in a sql forum suggested running sql 2012 express AND sql 2008 standard along side each other and "replicate" the database from the 2012 to 2008.  Then use the 2008 database moving forward.....  Only problem is, he didn't give any instructions.....

Any help would be appreciated.
0
Comment
Question by:sstire
  • 2
4 Comments
 
LVL 16

Expert Comment

by:DcpKing
ID: 39918607
You cannot detach and attach (as you've discovered). You also can't do a backup from 2012 and restore back into a 2008 system.

Log on to the 2012 system using SSMS (use a 2012 SSMS, not a 2008 one) and right-click on your database. Select Tasks and Export Data ....

At this point you should be able to create a job in the wizard to transfer table structures and contents to a blank database in your 2008 server.

hth

Mike
0
 

Accepted Solution

by:
sstire earned 0 total points
ID: 40202903
The solution for this is to script out the database.  This did the trick.
0
 

Author Closing Comment

by:sstire
ID: 40211057
The ONLY option for importing SQL data when changing databases from newer to older, is to script out the database.  Exporting the database doesn't work.
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 40213115
Exporting the database doesn't work.
Then I suspect you misunderstood or did not attempt to use it.  You CAN use the Export Data task and the advantage is that you also get to copy the data.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

760 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now