Quick question: can you replicate a database from SQL Server 2012 to 2008 R2?
We currently have a push transactional replication setup from a SQL Server 2008 R2 database (publisher) to another 2008 R2 (subscriber). The publisher is controlled by a partner organisation that we work closely with, but we have little control over their infrastructure (other than the replication).
Our partner is upgrading their infrastructure to SQL Server 2012 - and as such we need to know if we will be forced to upgrade all or part of our solution to 2012 to follow suit.
Do we need to upgrade our subscriber SQL Server to 2012, or can we leave it as 2008 R2 and somehow configure it to subscribe to a 2012 replication?
Any information and/or references would be appreciated. We're in the process of coming up with a migration plan.
You can keep your 2008R2 subscriber, as long as the distributor and the publisher are one and the same instance (and it seems that they are, since you're running a push trans replication). Quote from here:
A Subscriber to a transactional publication can be any version within two versions of the Publisher version. For example: a SQL Server 2005 Publisher can have Subscribers running SQL Server 2005, SQL Server 2008 (including SQL Server 2008 R2), or SQL Server 2012; and a SQL Server 2012 Publisher can have Subscribers running SQL Server 2005, SQL Server 2008 (including SQL Server 2008 R2), or SQL Server 2012.
Probably you will have to reinitialize your subscription once the publisher upgrade is done. it would be preferable to not use any 2012 specific features or even to run the publisher database in 2008 compatibility mode.
2 versions back SQL replication:
8.0 for SQL Server 2000.
9.0 for SQL Server 2005.
10.0 for SQL Server 2008.
10.5 for SQL Server 2008 R2.
11.0 for SQL Server 2012.
12.0 for SQL Server 2014.
13.0 for SQL Server 2016
Related
Is it possible to have a SQL Server 2017 subscriber to a SQL Server 2012 publication (distributor running SQL Server 2016) ?
Thanks
The short answer is no. Documented here.
Subscriber version depends on the type of publication:
A Subscriber to a transactional publication can be any version within two versions of the Publisher version. For example: a SQL
Server 2012 Publisher can have SQL Server 2014 and SQL Server 2016
Subscribers; and a SQL Server 2016 Publisher can have SQL Server 2014
and SQL Server 2012 Subscribers.
A Subscriber to a merge publication can be any version less than or equal to the Publisher version.
I'm using SQL Server CE for SQL Server 2008. But, now I must using SQL Server 2014, But SQL Server CE 3.5 SP.2 doesn't support SQL Server 2014.
Which version of SQL Server CE does SQL Server 2014 support?
Are you talking about Merge Replication? In that case, SQL Server 2014 does not support Merge Replication with SQL Server Compact, the last version of SQL Server to do this is SQL Server 2012
I am trying to restore a backup of a SQL Server 2008 database - but my engine is SQL Server 2005 Express. When I try and choose a different in the Management studio login, there is nothing BUT my SQL Server Express.
Now I am getting the RESTORE HEADERONLY is terminating abnormally on a 4+ GB DB that I need to restore.
Has anyone seen this? I am sure I installed SQL Server 2008 R2 (that's why I see it when I open the Management studio) ...so why do I only have SQL Server 2005 Express engine?
Thanks!
todd
It sounds like you only have the SQL Server 2008 R2 client tools installed. You will see the SQL Server 2008 R2 information on SSMS, but that doesn't indicate whether any server is installed.
I assume that SQL Server 2005 Express was installed already.
Of course, as you're seeing, the restore of a SQL Server 2008 backup will fail on the 2005 Express server.
You will probably have to install SQL Server 2008 R2 server again to get it installed. There are certain minimum requirements to install the server. I'm not positive, but I think if your computer doesn't meet the requirements, the install will automatically install client tools only.
I've been using SQL Server 2008 R2 for my development. I noticed that service pack 2 for SQL Server 2008 just came out. However, I checked here and Microsoft does not provide a link to any of the service packs for SQL Server 2008 R2. So it is not clear to me whether or not I should apply their service pack to my instance of SQL Server 2008 R2.
Do I need to apply some version of service pack 2 to my instance of SQL Server 2008 R2?
Thanks.
No, SP2 for SQL 2008 cannot be applied to SQL 2008 R2, they are different product versions.
Here's the 2008 SP2 announcement.
In addition to some bug fixes, it does contain some updates that make it compatible with some SQL 2008 R2 features, but this patch can't be applied to R2.
The current patch level for SQL 2008 R2 is Cumulative Update 3 (Announcement, KB article).
I have an instance of tfs 2008 supported by sql server 2005. I want to change the sql server machine by doing a restore based move. I also want to change the version of sql server to 2008.
I know that i can restore backups from sql 2005 to sql 2008, IN GENERAL, but I don't know if this is a thing that is OK for tfs databases.
I also know that sql server 2008 is supported by tfs 2008, but in this case when I have done an upgrade I am assuming that I should change the database compatibility mode to be "2008".
So, any advice on doing a sql server upgrade for TFS 2008?
Backup databases and report server key
Start downtime
Upgrade SQL2005 to SQL2008; AT will stop working at this step
Apply VS SP1
Apply TFS SP1; AT will work again
Apply SQL2008 SP1
Verify full functionality
End downtime