Do one of the following: Select View > Next SQL. Press F8. The new SQL replaces what was previously in the Query window.