A console keeps two records of its past: the saved versions of its text and a log of its runs. Use them to see how a query changed over time, to bring back an earlier version, and to check what each run returned. Creating, saving and reopening consoles is covered on Consoles, saving and history.
The run log is the History tab in the Results Panel.
[YYYY-MM-DD HH:MM:SS] in 24-hour time. While a run is going, the entry reads running or pending with the seconds elapsed so far. When the run ends, the entry shows the rows it returned (a single row reads 1 row) and how long it took, such as 9 ms, 1 s 88 ms or 2 m 5 s; a run under a millisecond reads <1 ms.You can act on an entry:
With no runs yet, the tab reads No Query Outputs and "Query outputs will appear here after you execute queries". The tab lists the 10 most recent runs of the console.
Console history keeps the saved versions of a console's text.
While the list loads it reads Loading history; before you pick a version it reads Select a history entry to view the query; a console with no saved versions reads No history available. Close the view with Close.
Open Console history with Ctrl+Shift+H, select the version and choose vs Now to check it against the current text. Click Copy on that version's side of the comparison, then paste the text into the console.
Console history keeps the saved versions of the console's text. The History tab lists the console's recent runs, with each run's status, rows and time.
It lists the 10 most recent runs of the console; older runs drop off as new ones arrive.
The run has not finished, so the entry reads running or pending with the seconds elapsed so far. The row count and the run time appear when it ends.
A query is already running in this console; the button's tooltip reads Query is already running. Wait for the run to finish, then run the entry again.
Click Copy error message on the failed entry; the button confirms with Copied!. The action appears only on entries that failed.
vs Now compares the selected version with the console's current text; vs Prev compares it with the version recorded before it.
It marks the oldest saved version in the list.
Yes. Each entry's SQL shows the query with the values it ran with, so Copy SQL copies the query as it ran. See Query parameters.
Yes. The runs are stored with the console, so its recent runs come back when you reopen it.
A run records one when the text differs from the newest recorded version. Save records one even when the text is unchanged.