简体   繁体   中英

Sync with active table Microsoft SQL Server

In Visual Studio you have a function: sync with active document. This is a very handy function. Because you can see in the solution explorer where the document has been stored.

My question is: is there a similar function in Microsoft SQL Server 2014 - that you can stand with your cursor on the table name in a query and then for example with a sub menu you can see witch table is selected in the object explorer.

This is especially handy if you have for example 300 tables and you want to see the columns of that table that you have written in a query.

THank you

I am not aware of any way to do this natively in SQL Server Management Studio. However, there are several third party extensions which do have this feature.

Two of the more popular extensions:

  1. ApexSQL Complete (free)
  2. SQL Prompt (paid w/free trial)

Both of these tools have functionality that allows you to navigate to an object in the Object Explorer, or view the contents of the object from within the query window by hovering the mouse over the object name.

For example, this can be accomplished in ApexSQL Complete by right-clicking an object and selecting "Navigate to object".

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM