Solved

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

Posted on 2014-03-10
4
379 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.

856 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