I have installed SQL Server 2005 and SQL Server 2008 R2 both on my system. Now I am trying to attach a database, then it's showing a version error:
Is there any way to switch from SQL Server 2005 to 2008 R2 without uninstalling the earlier version?
Related
I am using SSMS 2008 on an XP machine, trying to access a SQL Server 2012 database and get error messages indicating index out of bounds of array. What do I need to do to fix?
EDIT: (thanks #bluefeet ) : You can't install SSMS 2012 on Windows XP. See here: SQL Server 2012 Management Studio for Windows XP
Cause
The server you are connecting to is using SQL Server 2012. The error
is a result of incompatibilities with previous versions of SQL Server
Management Studio i.e. 2005, 2008, & 2008 R2.
Resolution
You will need to download SQL Server 2012 Management Studio to make
changes to your database. You can download it from the MSSQL Express
2012 website.
Source of Answer: You Receive Errors When Connecting to MSSQL 2012 Using MSSQL 2008 or 2008 R2 Management Studio.
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
i am trying to execute a query in a newly installed sql server 2008 r2 express edition it just popup a window asking to connect to sql server compat edition , i am unable to change the server type also, how to avoid this
Question says it all.
Is there a way I can see what version of SQL 2008 is installed?
It's either the SQL 2008 enterprise edition or SQL 2008 R2 enterprise.
SELECT ##VERSION
Should be 10.5xxxxx for R2. It is 10.0xxxx for "plain" SQL Server 2008
For edition: SELECT SERVERPROPERTY('Edition'). SERVERPROPERTY gives you quite a lot
When you connect to it using management studio, it shows the server name and version. 2008 is 10.0.1600, 2008 R2 is 10.50.1600.
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).