QUERY Expression in INSERT Statement
If a
QUERY expression is specified in the INSERT statement , the specified table must not be a join view table.The QUERY expression defines a result table (see
result table name) whose ith column is assigned to the ith target column. A row is formed from each row in the result table and inserted in the base table. Each of these rows has the following contents:If a QUERY expression is not specified in the INSERT statement, exactly one row is inserted in the specified table. The inserted row has the following contents:
The following still applies to the inserted row(s):