>>-SET CONNECTION-----------------------------------------------> >--+-+-'connection '------------------------+--+----------------+-+->< | | (1) | | (1) | | | +--------connection_var----------------+ '--------DORMANT-' | | | (1) (2) | | | +--------| Database Environment |------+ | | '-DEFAULT------------------------------' | | (1) | '--------CURRENT DORMANT---------------------------------------'
Element | Description | Restrictions | Syntax |
---|---|---|---|
connection | Name of the initial connection that the CONNECT statement made | The database must already exist | Quoted String, p. Quoted String |
connection_var | Host variable that contains the value of connection | Must be a character data type | Language specific |
You can use SET CONNECTION to make a dormant connection current or to make the current connection dormant.
SET CONNECTION is not valid as a prepared statement.
Enterprise Edition Home | Express Edition Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]