Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The Transact-SQL Editor for offline development provides two useful navigation tools that are familiar to Visual Studio users: Go To Definition and Find All References. For example, you can right-click a table name and use "Find All References" to list all references to the table in the project. You can double-click a search result to go to the specific code file. In this file, you can right-click the table name again, and choose "Go to Definition" to go back to the table definition.
Warning
The following procedure uses entities created in previous procedures in the SQL database projects sections.
Navigate between scripts
Expand the Functions folder in Solution Explorer and double-click
GetProductsBySupplier.sql.Right-click
Productsin this line of code and select Go To DefinitionSELECT * FROM Products AS p;Products.sqlis automatically opened, showing the location where theProductstype is defined.Go back to
GetProductsBySupplier.sql. This time selects Find All References in the contextual menu forProducts. In the Find Symbol Results pane, you see a list of locations where theProductstable is referenced. Double-clicking any of the search results bring you to the location of the reference.