SQL/MX 3.2.1 Query Guide (H06.26+, J06.15+)

SQL/MX Operators
HP NonStop SQL/MX Release 3.2.1 Query Guide663851-003
7-83
TUPLELIST Operator
TUPLELIST Operator
Tuple Group
The TUPLELIST operator shows the values that you place in the query when the
VALUES clause is used. The description field for this operator contains the following:
The following is an example of the TUPLELIST operator:
PREPARE TestQuery21 FROM
INSERT INTO nation
VALUES (43, 'botswana', 16, 'african country'),
(44, 'france', 23, 'european country'),
(45, 'nepal', 88, 'asian country');
DESCRIPTION
fragment_id ............ 0
parent_frag ............ (none)
fragment_type .......... master
tuple_expr ............. cast(%(45) AS INTEGER SIGNED),
cast(%('nepal') AS VARCHAR(25)
CHARACTER SET ISO88591), cast(%(88)
AS INTEGER SIGNED),
cast(%('asian country') AS
VARCHAR(152) CHARACTER
SET ISO88591)
UNARY_UNION Operator
The UNARY_UNION operator first evaluates the request using the condition
expression (condExpr) associated to the operator. If the result is true, it passes the
request to its child. In this case the UNARY_UNION operator always has one child.
Token Followed by... Data type
fragment_id A sequential number assigned to the fragment.
0 is always the master executor and 1 is
reserved for the EXPLAIN plan. Numbers 2 to n
will be ESP or DAM fragments.
integer
parent_frag The fragment_id for the parent of the current
fragment. The value is (none) for the master
executor.
integer
fragment_type Master, ESP, or DP2. text
tuple_expr The tuple produced by this node. expr(text)
TP663851.fm Page 83 Wednesday, January 30, 2013 5:37 PM