ASA SQL User's Guide
Importing and Exporting Data
Running SQL command files
You can execute command files in the following ways:
You can use the Interactive SQL READ command to execute command files.
The following statement executes the file temp.sql:
READ temp.sql
For more information, see READ statement [Interactive SQL].
You can load a command file into the SQL Statements pane and execute it directly from there.
You load command files back into the SQL Statements pane by choosing File
On Windows platforms you can make Interactive SQL the default editor for .SQL files so that you can double-click the file and it appears in the SQL Statements pane of Interactive SQL.
For more information about making Interactive SQL the default editor for .SQL files, see Options dialog: General tab.
You can supply a command file as a command-line argument for Interactive SQL.