Solved

How portable are Microsoft SQL databases between editions?

Posted on 2011-03-09
7
324 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
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
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
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.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

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