Updated on 2024-08-29 GMT+08:00

SQL Favorites

This section describes how to add frequently-used SQL statements and to view and manage them.

Procedure

  1. Log in to the DAS 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 SQL Operations > SQL Query.
  7. In the SQL window, click SQL Favorites.

    Figure 1 SQL Favorites
    • Add SQL Statement: allows you to add frequently-used SQL statements. Specifically, specify a title, select an application scope, enter SQL statements, and then click Save.
      Figure 2 Adding a SQL statement
    • Manage SQL Statements: allows you to manage frequently-used SQL statements, including adding, editing, and deleting SQL statements.
      Figure 3 Managing SQL statements