Updated on 2023-12-13 GMT+08:00

Opening a View

Graphical window for creating a GaussDB(DWS) view is not available. To create a view, execute SQL statements in the SQL window. For details, see Executing SQL Statements.

This section describes how to open a view in a GaussDB(DWS) database on DAS.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and project.
  3. Click in the upper left corner, and under Databases, click Data Admin Service.
  4. In the navigation pane on the left, choose Development Tool.

    You can also click Go to Development Tool on the overview page.

  5. Locate the DB instance that you want to log in to and click Log In in the Operation column.
  6. On the top menu bar, choose Database Management.
  7. On the displayed Objects page, choose Views. In the right pane, locate the view that you want to open and click Open in the Operation column.

    Figure 1 Opening a view

  8. On the displayed page, check view details.

    You can also perform the operations listed in Table 1.

    Table 1 UI operations

    Name

    Description

    Where Condition

    Filters records.

    Copy Row

    Copies data of the selected row. Specifically, double-click the target row and then click Copy Row.

    Copy Column

    Allows you to copy all data in a column by selecting this column from the Copy Column drop-down list.

    Column Settings

    Allows you to set the columns you want to display.

    Refresh

    Allows you to update table data manually.

    Row Details

    Shows details of a specified row.