You can save any SQL that appears in an SQL Editor window to a file and re-use the script file later on.
To export the contents of the SQL Editor pane to a file:
•Click Export SQL file ( ), and enter a name for the SQL script.
To import a previously saved SQL file:
•Click Import SQL file ( ), and select the SQL file you want to open.