Previous Topic

Next Topic

Create Dbevent

Valid in: SQL, ESQL

The Create Dbevent statement creates the specified database event. Database events enable an application to pass status information to other applications. Event_name must be a valid object name. Database events can be registered or raised by any session, provided that the owner has granted the required permission (raise or register) to the session's user, group, or role identifier, or to public. Only the user, group, or role that created a database event can drop that database event.

Previous Topic

Next Topic

Syntax

The Create Dbevent statement has the following format:

[EXEC SQL] CREATE DBEVENT [schema.]event_name

Previous Topic

Next Topic

Embedded Usage

In an embedded Create Dbevent statement, event_name cannot be specified using a host language variable. Event_name can be specified as the target of a dynamic SQL statement string.

Previous Topic

Next Topic

Permissions

All users are permitted to use this statement.

Previous Topic

Next Topic

Locking

The Create Dbevent statement locks pages in the iievent catalog.

Previous Topic

Next Topic

Related Statements

Drop Dbevent

Grant (privilege)

Raise Dbevent

Register Dbevent

Remove Dbevent


© 2007 Ingres Corporation. All rights reserved.