In SQL*Plus, the RECALL command is the fastest way to retrieve and rerun the last SQL statement without retyping it. Whether you are debugging a query, refining a WHERE clause, or re-running a stored procedure call, RECALL eliminates wasted motion. Combined with command-line history, it keeps your workflow sharp and uninterrupted.
By default, typing RECALL in SQL*Plus pulls the most recent statement into the buffer. You can then edit it in the SQL buffer editor or execute it again with a forward slash /. This is especially useful when working through iterative changes. For example:
SQL> SELECT * FROM employees WHERE department_id = 50;
SQL> RECALL
SQL> /
The first line runs the query. The RECALL command pulls it back. The slash executes it again instantly.
You can also recall older statements if your environment retains command history. On some systems, the up-arrow key or CTRL+P works; on others, you need to configure the history size in your SQL*Plus settings. For multi-line SQL, RECALL preserves the structure so you can tweak individual parts without rewriting the whole thing.