Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 445
  • Last Modified:

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

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
sstire
Asked:
sstire
  • 2
1 Solution
 
DcpKingCommented:
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
 
sstireAuthor Commented:
The solution for this is to script out the database.  This did the trick.
0
 
sstireAuthor Commented:
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
 
Anthony PerkinsCommented:
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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now