2

I just installed VS2012 in my machine.

I'm trying to create a database but in order to create a sql connection I need the Server name, it use to be .\sqlexpress in VS2010, but apparently it changed, but I don't know the new name.

Can anybody tell what's this name?

image

Glorfindel
  • 21,988
  • 13
  • 81
  • 109
Rafael
  • 2,413
  • 4
  • 32
  • 54
  • Look Here [How can I determine installed SQL Server instances and their versions?][1] [1]: http://stackoverflow.com/questions/141154/how-can-i-determine-installed-sql-server-instances-and-their-versions – Mohammed Rabee Mar 18 '13 at 14:55
  • VS2010 installed SqlExpress but VS2012 does not - it comes however with localdb as pointed below by Rafael – Pawel Mar 19 '13 at 16:21

2 Answers2

2

The name of the instance is: "(LocalDb)\v11.0"

Rafael
  • 2,413
  • 4
  • 32
  • 54
  • Also, if you open up a project in VS2012 that was configured to use SqlExpress, you'll get a warning message with this information. – Bennor McCarthy Mar 19 '13 at 12:40
0

I think default instance is called .\SqlExpress

But if you are not sure about name of SQL Server instance you can always open up SQL Server Configuration Manager and it should have that local instance listed in it.

JackLock
  • 1,168
  • 1
  • 13
  • 26