> For the complete documentation index, see [llms.txt](https://docs.tibero.com/tiberostudio.en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tibero.com/tiberostudio.en/about/sql-editor/sql-history.md). Agents can also search and read this documentation through its [MCP server](https://docs.tibero.com/tiberostudio.en/~gitbook/mcp).

# SQL History

<figure><img src="https://content.gitbook.com/content/nNfkYJbwJttSkGBYdvi9/blobs/7BteiP5bG40YY3RBjDxb/image.png" alt=""><figcaption><p>Figure 1. SQL History</p></figcaption></figure>

This feature manages the history of SQLs that have been run. The history of all SQLs executed in the editor is automatically saved. The SQL History feature allows The users to track previously executed SQL and recheck the history of successful and unsuccessful executions.

The users can view the following information in SQL History.

<table><thead><tr><th valign="bottom">Name</th><th valign="bottom">Description</th></tr></thead><tbody><tr><td valign="bottom">Time (Start)</td><td valign="bottom">Time of SQL execution</td></tr><tr><td valign="bottom">Connection</td><td valign="bottom">Session run in</td></tr><tr><td valign="bottom">SQL Query</td><td valign="bottom">SQL run</td></tr><tr><td valign="bottom">Result</td><td valign="bottom">Executed result</td></tr><tr><td valign="bottom">Elapse Time</td><td valign="bottom">Execution Time (ms)</td></tr><tr><td valign="bottom">Affected Rows</td><td valign="bottom">Number of rows affected by the SQL execution</td></tr><tr><td valign="bottom">Execute</td><td valign="bottom">Number of times the SQL was executed</td></tr></tbody></table>

#### History Log

<figure><img src="https://content.gitbook.com/content/nNfkYJbwJttSkGBYdvi9/blobs/sZvfiovaE9VL5B1hfEZn/image.png" alt=""><figcaption><p>Figure 2. History Log</p></figcaption></figure>

When The users click **\[Context Menu] - \[History Log]** menu, the users can view the history information of the selected row in the form of a window.

#### Remove History

Click **\[Context Menu] - \[Remove History]** to delete the history information of the selected row.

###
