Training
Module
Visualize data with Dataverse views - Training
Discover the different types of Dataverse views and how to create and edit them.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Applies to:
SQL Server
Azure SQL Database
Azure SQL Managed Instance
The Query and View Designer opens when you open the definition of a view, show the results for a query or view, or create or open a query. It consists of four separate panes:
The Diagram pane presents a graphic display of the tables or table-valued objects you have selected from the data connection. It also shows any join relationships among them.
The Criteria pane allows you to specify query options - such as which data columns to display, how to order the results, and what rows to select - by entering your choices into a spreadsheet-like grid.
You can use the SQL pane to create your own SQL statement, or you can use the Criteria pane and Diagram pane to create the statement, in which case the SQL statements will be created in the SQL pane. As you build your query, the SQL pane automatically updates and reformats to be easily read.
The Results pane shows the results of the most recently executed Select query. (The results of other query types are displayed in message boxes.)
These panes are useful for working with both queries and views.
When you open a view or query some or all of the panes open with it. Which ones open depend on the settings in the Options dialog box and what database management system you're connected to. The default is that all four open.
In Object Explorer, right-click the view you want to open and click Design or Open View.
If you chose Design, the Query and View Designer panes open as dictated by the options selected in the Options dialog box. If you chose Open View, only the Results pane opens by default.
In Solution Explorer, expand the Queries folder.
Double-click the query you want to open.
Highlight the query statement(s), right-click the highlighted area and click Design Query in Editor.
Design Queries and Views How-to Topics (Visual Database Tools)
Query and View Designer Tools (Visual Database Tools)
Training
Module
Visualize data with Dataverse views - Training
Discover the different types of Dataverse views and how to create and edit them.
Documentation
Query and View Designer Tools (Visual Database Tools)
Diagram Pane (Visual Database Tools)