You can use the Import/Export File Selection window to import a query that you prepared outside of the HPL.
The Import/Export File Selection window appears, as Figure 82 shows.
You can do this in either of the following ways:
The text from the imported file appears in the query-definition window.
If ipload can interpret the SQL statement, the SQL statement is inserted into the appropriate Select, From, and Where text boxes.
If ipload cannot interpret the SQL statement, the entire content of the imported file appears in the Select text box.
If the query is a valid SQL query, the display returns to the Query window.
If the query is not a valid SQL query, ipload highlights the portion of the query that it cannot interpret and provides an error message.