Changes the active database connection.
SET CONNECTION [connection-name]
EXEC SQL SET CONNECTION :conn_name
SET CONNECTION conn1
The current connection state is saved and is resumed when it again becomes the active connection. If connection-name is omitted and there is a connection that was not named, that connection becomes the active connection.