The Business Rules Engine

Session Commands

Set Application

set_application := SET APPLICATION <application_name> . <environment>
                   [ IN GROUP <group_name> ]?
environment := DEV | TEST | PROD

Sets the current session's application and environment, and optionally the group name. The user must have permission to connect to the given application and environment, and must be a member of any group provided.

This command is helpful for application developers in that it saved them from having to type the application name when creating or modifying database objects. It is essential, however, for end-users of applications, since they cannot run DML or query statements without a proper session with the application they are talking to.

Disconnect

disconnect := DISCONNECT

Ends the current session with CodaServer.