Updated on 2023-03-28 GMT+08:00

SQL History

Prerequisites

Enable Save Executed SQL Statements after you log in to the DAS console.

Procedure

  1. On the top menu bar, choose SQL Operations > SQL History.
  2. On the displayed page, search for execution information about the target SQL statement by time range, database name, or keyword.

    • To access the Database Management page, click a database name.
    • To copy and use a SQL statement, click it in the SQL Statement column.
    • To execute a SQL statement, click Open in SQL Window in the Operation column.

    After you enable Save Executed SQL Statements, executed SQL statements will be recorded in the DAS management host.