Solved

How portable are Microsoft SQL databases between editions?

Posted on 2011-03-09
7
335 Views
Last Modified: 2012-05-11
How portable are Microsoft SQL databases between editions? Can you detach and attach databases from say 2005 9.0 express edition and attach to 2008 10.0 enterprise edition? What’s the rules here? I detach copy and attach between like editions all the time without issue, but I wonder how far up or down a database can go, if it can at all. Does “Compatibility Level” play in to portability? Can you detach a SQL Server 2000 (80) Compatibility Level database from a 2008 10.0 standard edition server and attach it to a 2005 9.0 express edition of SQL? What dose a person need to watch out for here?
0
Comment
Question by:wchaffin
[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
7 Comments
 
LVL 17

Accepted Solution

by:
dbaSQL earned 250 total points
ID: 35090949
good reference on compatibility level:
http://www.mssqltips.com/tip.asp?tip=1436
0
 
LVL 17

Assisted Solution

by:dbaSQL
dbaSQL earned 250 total points
ID: 35091027
0
 
LVL 14

Assisted Solution

by:Daniel_PL
Daniel_PL earned 125 total points
ID: 35092928
Please keep in mind that database attached to higher version of SQL Server could not be reattached back to lower. Backup created by higher edition cannot be restored to lower.
http://msdn.microsoft.com/en-us/library/ms189625%28v=SQL.90%29.aspx
0
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 
LVL 28

Assisted Solution

by:Ryan McCauley
Ryan McCauley earned 125 total points
ID: 35095174
As others have mentioned, there are important differences to be considered when you're changing VERSION of SQL Server.

However, aside from the fact that SQL Express only supports databases up to 4GB, there's no restrictions at all in changing EDITION of SQL Server (Standard -> Enterprise, Enterprise -> Express, or any other conversion). To move a database to a different edition (same version) of SQL Server, you could either backup/restore or detach/reattach, and you'd be just fine.
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 35095253
>> aside from the fact that SQL Express only supports databases up to 4GB<<
Just a very minor quible, that is now 10GB starting in SQL Server 2008.
0
 

Author Closing Comment

by:wchaffin
ID: 35095322
wow! all excellence guidance. i should have excluded system databases from the question. i think most people only move user databases.

Thank you for the excellent responces.
0
 
LVL 17

Expert Comment

by:dbaSQL
ID: 35095342
Glad to have helped.
0

Featured Post

 Database Backup and Recovery Best Practices

Join Percona’s, Architect, Manjot Singh as he presents Database Backup and Recovery Best Practices (with a Focus on MySQL) on Thursday, July 27, 2017 at 11:00 am PDT / 2:00 pm EDT (UTC-7). In the case of a failure, do you know how long it will take to restore your database?

Question has a verified solution.

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

What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Viewers will learn how the fundamental information of how to create a table.

615 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