0

I have installed two SQL Server instances, one is SQL Server 2012 and the other is SQL Server 2014.

I connected to the SQL Server 2014 instance using Management Studio and clicked "Attach", while clicking add "Locate Database Files" window is opened and I am not able to see the SQL Server 2012 instance databases.

Is it possible to attach other instance's databases without moving databases to another location?

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459

2 Answers2

1

Is the database you are trying to attach still being used by the 2012 instance? A database cannot be attached to two instances simultaneously. As long as SQL Server can see a drive (or a share) it can attach a database to it (as long as the database being attached is the same or lower version.)

benjamin moskovits
  • 5,261
  • 1
  • 12
  • 22
0

Have you tried to add a Linked Server?
See e.g. https://msdn.microsoft.com/en-us/library/ff772782.aspx

Jan
  • 11
  • 1