title: Avoiding writing full database name and path in sql server
body: <p>So i imported the adventure works database in console project in visual studio 2012.</p>
  
  <p>Now the problem is that whenever i have to write a query i have to write the whole path to get access to the table in database and it become something like.</p>
  
  <pre><code>SELECT * FROM [C:\USERS\USER\DOCUMENTS\VISUAL STUDIO 2012\PROJECTS\SQL_PRACTICE\SQL_PRACTICE\ADVENTUREWORKS2012_DATA.MDF].HumanResources.Employee;
  </code></pre>
  
  <p>I mean it become really long. Anyway i can avoid writing the full path in a query.</p>