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

Opening a View

This section describes how to view details of a view on the DAS console.

Precautions

Views do not have primary keys and their data can only be queried but not edited.

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. Click Change on the right of the current database to switch to the database where you want to open a view.

    Figure 1 Switching to another database

  8. On the Objects tab page, choose Views.
  9. Locate the view you want to open and click Open in the Operation column.

    Figure 2 Opening a view

  10. On the displayed page, check view details and query view information using a Where condition.

    Figure 3 Viewing details of a view

    You can also perform operations described in Table 1 on the view.

    Table 1 UI operations

    Name

    Description

    Where Condition

    Filters records.

    Copy Row

    Allows you to copy data of a selected row. Specifically, select the row you want to copy and click Copy Row.

    Copy Column

    Allows you to copy data of a selected column. Specifically, click Copy Column and select a column from the drop-down list.

    Copy

    Allows you to copy a piece of data. Specifically, hover the cursor on the data and click Copy.

    Column Settings

    Allows you to set the columns you want to display.

    Convert binary to hexadecimal

    Prevents binary data in columns from being displayed as garbled characters. If there is binary data in columns, you must select this option.

    Refresh

    Allows you to update table data manually.

    Row Details

    Shows details of a specified row.

    Add Row

    Allows you to add rows.

    Submit

    Allows you to submit and save the changes to data.

    Delete Row

    Allows you to delete the selected rows.

    Export

    Exports a maximum of 10,000 data records to a CSV or SQL file.