SET CONNECTION — select a database connection
SET CONNECTION [ TO | = ] connection_name
SET CONNECTION
sets the “current” database connection, which is the one that all commands use unless overridden.
connection_name
A database connection name established by the CONNECT
command.
CURRENT
Set the connection to the current connection (thus, nothing happens).
EXEC SQL SET CONNECTION TO con2; EXEC SQL SET CONNECTION = con1;
SET CONNECTION
is specified in the SQL standard.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.