Including other script files
Additional script files can be included at execution time by using the '$sql_include ' prefix. When encountered at execution time the contents of these scripts are read and executed as if they had been entered in the edit pane.
For Example:
In this example the contents of the three files groupa.sql, groupb.sql and groupc.sql are read at run time and executed.
Saving and Loading Scripts
Four menu options exist to support the maintenance of script files. The edit pane of the Sql Admin window contains the contents of a script file. By default or at initial invocation this script file will be named sqlx where x is the window number. When Sql Admin exits you will always be asked if you wish to save the contents of the script file currently in use. Care should be taken to ensure that you are not overwriting a script that was opened sometime earlier.
Note: The Sql Admin edit pane is always associated with a script file. Therefore if you open a script file and execute it, that script file becomes active and can be written to. To prevent accidental modification of such a script you should open another script file or create a new one if you wish to issue further sql commands.