Recalling Previous Queries
To recall and execute a previously recorded query, click the History icon
on the button toolbar to open the History Window.
The History Window displays previously executed batches stored in the History buffer for the current connection. To change the number of scripts saved in the History buffer, choose the Miscellaneous tab in the Options Window.
You can:
Highlight the text you want to reuse and click Go to redisplay the statement or batch in the Input Window and execute it again.
Click the Up icon
to select the previous batch in the History Window and display it in the Input Window where you can edit the command or click Go and execute it again.
Click the Down icon
to select the next batch in the History Window and display it in the Input Window where you can edit the command or click Go and execute it again.