Creating a view

Privileges

Only a database owner or a user or group with create view permission can create a view.

StepsCreating a view

  1. In the database hierarchy, select the Views folder.

  2. Select File | New | View. The View Creation wizard opens.

The View Creation wizard asks for the following information:

Table 19-1: Inputs to the create view wizard

Input

Description

Name

Name for the new view.

Owner

The user that owns the view.

Code

Enter code for the view in the editor.

Shortcut

Select the Views folder. In the right pane, double-click the Add View icon.

NoteYou can also create a view by using a template. Go to File | New and select View (Template). A template opens in the text editor.