title: How to control which SQL Server instance localhost points to
body: <p>I have 2 instances of SQL Server on my PC, one is SQL Server 2008 R2, the other SQL Server 2012.</p>
  
  <p>If I use <code>LOCALHOST</code> when connecting to SQL Server, it goes to the SQL Server 2008 R2 instance.</p>
  
  <p>I want it to point to the SQL Server 2012 instance.</p>
  
  <p>Does anyone know how I can achieve this?</p>