Was this helpful?
REGISTER DBEVENT
Valid in: SQL, ESQL, OpenAPI, ODBC, JDBC, .NET
The REGISTER DBEVENT statement specifies that an application is to be notified when an event is raised.
The REGISTER DBEVENT statement has the following format:
[EXEC SQL] REGISTER DBEVENT [schema.]event_name;
The REGISTER DBEVENT statement enables a session to specify the database events it intends to receive. For a full description of database events, see Database Events on page 27.
A session receives only the database events for which it has registered. To remove a registration, use the REMOVE statement. After registering for a database event, the session receives the database event using the GET DBEVENT statement.
Last modified date: 01/30/2023