If you have multiple SELECT statements that are joined by the UNION keyword (UNION, UNION ALL, etc.), which SELECT statement determines what the value of SQLCODE will be after execution? Is it the result of the first SELECT, the last SELECT, the highest (absolute value) SQLCODE, or something...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.