Is there a way to perform a union of 2 sets where both were output by 2 different execute block commands?
The sets structure are the same but each one contains different parameters therefore I cannot easily merge both in one execute block command.
For example
EXECUTE BLOCK RETURNS -- set 1
AS DECLARE VARIABLE....my sql 1
BEGIN
FOR
..... my sql 1
DO
BEGIN
FOR
..... my sql 1
DO BEGIN
SUSPEND;
END
END
END UNION
EXECUTE BLOCK RETURNS -- set 2
AS DECLARE VARIABLE....my sql 2
BEGIN
FOR
..... my sql 2
DO
BEGIN
FOR
..... my sql 2
DO BEGIN
SUSPEND;
END
END
END