Updated on 2024-07-19 GMT+08:00

Table Operators

The functions that can be called in the FROM clause of a query are from the table operator.

Input: Table operator with RETURNS
1
2
SELECT * 
  FROM TABLE( sales_retrieve (9005) RETURNS ( store INTEGER, item CLOB, quantity BYTEINT) ) AS ret;

Output:

1
2
SELECT *
  FROM sales_retrieve(9005) AS ret (store, item, quantity);