On the Query Text tab, you can create, edit, and view the SQL definition of the selected view. You can also validate and execute the query to preview its results.

1. In Name, enter a view name.
2. From the Schema list, select the required schema.
3. Optional: In Description, enter a description for the view. Then click the arrow next to Description and do the following:
4. In Query text, enter the SQL statement for the view.
5. Configure view-specific options, including:
6. In the bottom panel, click Apply Changes.
1. In Name, edit the view name.
Note
When editing an existing view, you can’t change the schema name.
2. Optional: In Description, modify a description for the view. Then click the arrow next to Description and do the following:
3. In Query text, update the SQL statement for the view.
4. Update view-specific options if needed.
5. In the bottom panel, click Apply Changes.
An asterisk (*) on the View Designer tab indicates unsaved changes.
To save and apply the changes, in the bottom panel, click Apply Changes.
Note
To discard all changes made since View Designer was opened or last saved, on the standard toolbar, click
. The object is reloaded from the server, and all unsaved changes are permanently lost. You can’t undo this action for database objects.