November 22, 2010 at 2:15 pm
Hello,
Is it possible to retore a SQL 2008 R2 RTM database to SQL 2005 SP2? If so - how?
November 22, 2010 at 2:17 pm
Not that I know of.
However, you should be able to use the Import or Export wizard to replicate the data on the 2005 server.
November 22, 2010 at 2:26 pm
You can't restore databases to prior versions of SQL Server. Can't detach-reattach back versions either, for the same reasons.
Import/Export will work. Either with a wizard or with SSIS, or using something like Red Gate's SQL Compare and Data Compare.
- Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
Property of The Thread
"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon
November 22, 2010 at 3:03 pm
Hi
Is the version of SQL Server with which the database is to be made compatible. The value must be one of the following:
80 = SQL Server 2000
90 = SQL Server 2005
100 = SQL Server 2008
Reverse is not possable
Thanks
Parthi
Thanks
Parthi
November 22, 2010 at 10:53 pm
kay carey (11/22/2010)
Is it possible to retore a SQL 2008 R2 RTM database to SQL 2005 SP2?
No. Why do you need to do this? More information gets you a better answer.
Replication is another option not mentioned so far.
Paul White
SQLPerformance.com
SQLkiwi blog
@SQL_Kiwi
November 22, 2010 at 10:56 pm
parthi-1705 (11/22/2010)
Is the version of SQL Server with which the database is to be made compatible. The value must be one of the following:80 = SQL Server 2000
90 = SQL Server 2005
100 = SQL Server 2008
If you're talking about compatibility level, it makes no difference. A database on SQL 2008 cannot be restored to SQL 2005 no matter if the compat level is set to 100, 90 or 80.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
November 23, 2010 at 6:57 am
GilaMonster (11/22/2010)
If you're talking about compatibility level, it makes no difference. A database on SQL 2008 cannot be restored to SQL 2005 no matter if the compat level is set to 100, 90 or 80.
So can we set compatibility level as 100 in sql server 2005 and work
Thanks
Parthi
November 23, 2010 at 6:59 am
You can't set compatibility mode to 100 in SQL 2005. The highest is 90. 100 requires SQL Server 2008.
If you meant something else, please be clear.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
November 23, 2010 at 7:23 am
GilaMonster (11/23/2010)
You can't set compatibility mode to 100 in SQL 2005. The highest is 90. 100 requires SQL Server 2008.If you meant something else, please be clear.
Thats why i have stated version wise compatibility to show that we cant use the compatibility which the sql server 2008 has cant be restored in sql server 2005.
To show the compatibility of each version i have stated there, so as you said compatibility 100 cant be set in 2005 it is clear that 2008 cant be stored in 2005 thats what i tried to say
Thanks
Parthi
Thanks
Parthi
November 23, 2010 at 3:13 pm
As has been said, you cannot restore a database backup from a later version to an earlier version period.
When you bring a database forward to a later version from an earlier version, there are physical changes made to it, and a version number assigned to the version of database it is now. This is what precludes moving a database from later to earlier versions. The earlier versions would have no idea what to do with the physical changes that were made, so it complains. It also has a version check in it that would check the version of the database and not let you attach/restore databases that would conflict.
All the answers have led you to the path that I stated, I thought I would just offer you a why, so that you understand it is not about the compatibility, or other property, it is just not allowed in the engine.
November 23, 2010 at 11:19 pm
dbaduck (11/23/2010)
All the answers have led you to the path that I stated, I thought I would just offer you a why, so that you understand it is not about the compatibility, or other property, it is just not allowed in the engine.
Then how does the engine knows which version ,compatibility,property has been set?
Thanks
Parthi
Thanks
Parthi
November 23, 2010 at 11:41 pm
The database version is a number stamped in the boot page of a database that indicates the SQL Server version of the most recent SQL Server instance the database was attached to.
You can see the version of the database by:
USE master;
GO
SELECT DatabaseProperty ('databasename', 'version');
GO
Viewing 12 posts - 1 through 11 (of 11 total)
You must be logged in to reply to this topic. Login to reply