Using the Statements History you can view and reuse recently executed T-SQL statements. You can enable or disable this feature by checking the SQL Enlight->Statements History->Collect Statement History menu item.
Double-click a statement or use the Statements History grid context menu in order the statement to be opened in a new query window.
See Also

